# taylor-swift

> Taylor swift songs, albums and quotes

Latest version **3.3.1** (published 2024-03-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install taylor-swift
pnpm add taylor-swift
yarn add taylor-swift
bun add taylor-swift
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.3.1 |
| Published | 2024-03-26 |
| First published | 2024-03-17 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 471.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Lakshay Kamat |
| Maintainers | lakshaykamat |
| Keywords | taylor swift, evermore, 1989, reputation, lover, singer, artist, writer, fearless |

## Links

- npm: https://www.npmjs.com/package/taylor-swift
- Repository: https://github.com/lakshaykamat/taylor-swift
- Homepage: https://lakshaykamat.github.io/taylor-swift/
- Issues: https://github.com/lakshaykamat/taylor-swift/issues
- npm.io page: https://npm.io/package/taylor-swift

## Recent versions

- 3.3.1 (latest) — 2024-03-26
- 3.3.0 — 2024-03-25
- 3.2.6 — 2024-03-22
- 3.2.5 — 2024-03-22
- 3.2.4 — 2024-03-19
- 3.2.3 — 2024-03-19
- 3.2.2 — 2024-03-18
- 3.2.1 — 2024-03-18
- 3.2.0 — 2024-03-18
- 3.1.0 — 2024-03-18
- 3.0.3 — 2024-03-18
- 3.0.2 — 2024-03-18
- 3.0.1 — 2024-03-17
- 3.0.0 — 2024-03-17
- 2.0.1 — 2024-03-17
- … 2 more at https://npm.io/package/taylor-swift/versions

## README

# taylor-swift v3.3.0

![Taylor Swift](https://www.nme.com/wp-content/uploads/2023/06/taylor-swift-2000x1270-1-696x442.jpg)

## Installation

Install the Taylor Swift Library via npm:

```bash
npm install taylor-swift
```

## Usage

Start using the Taylor Swift Library in your Node.js projects:

```javascript
const { song, album, quote } = require("taylor-swift");
```

The Taylor Swift Library provides functions for interacting with Taylor Swift's music and related information:

### Songs

| **Funtcion**                    | **Description**                                             |
| ------------------------------- | ----------------------------------------------------------- |
| `song.random()`                 | Returns a random Taylor Swift song.                         |
| `song.filterByAlbum(albumName)` | Returns songs released by Taylor Swift in a specific album. |
| `song.all()`                    | Returns all songs by Taylor Swift.                          |
| `song.get(songName)`            | Returns a Taylor Swift song by its name.                    |

### Albums

| **Funtcion**               | **Description**                                          |
| -------------------------- | -------------------------------------------------------- |
| `album.random()`           | Returns a randomly selected Taylor Swift album.          |
| `album.all()`              | Returns all Taylor Swift albums.                         |
| `album.get(albumName)`     | Returns a specific Taylor Swift album by name.           |
| `album.filterByYear(year)` | Returns albums released by Taylor Swift in a given year. |

### Quote

| **Funtcion**                     | **Description**                                       |
| -------------------------------- | ----------------------------------------------------- |
| `quote.random()`                 | Returns a randomly selected Taylor Swift quote.       |
| `quote.filterBySong(songName)`   | Returns quotes from a Taylor Swift song by its name.  |
| `quote.filterByAlbum(albumName)` | Returns quotes from a Taylor Swift album by its name. |

## Example

### Random Taylor Swift Song:

```javascript
const randomSong = song.random();
console.log(randomSong);
```

### Taylor Swift Album by Year:

```javascript
const album2008 = album.filterByYear(2008);
console.log(album2008);
```

## Credits

Maintained by [Lakshay Kamat](https://github.com/lakshaykamat/), inspired by the work of Taylor Swift and her fans worldwide.

---
_Source: https://npm.io/package/taylor-swift · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
