Taylor Swift Library
v3.3.1
Welcome to the Taylor Swift Library! This npm package provides utilities
for Taylor Swift fans, including music, albums, and quotes. Perfect for
Swifties and enthusiasts
Installation
Install the Taylor Swift Library via npm:
npm install taylor-swift
Retrive Album
Function |
Description |
album.random()
|
Returns a randomly selected Taylor Swift album.
|
album.get(albumName)
|
Returns a specific Taylor Swift album by name.
|
album.all()
|
Returns all Taylor Swift albums.
|
album.filterByYear(year)
|
Returns albums released by Taylor Swift in a given year.
|
Retrive Songs
Function |
Description |
song.random()
|
Returns a random Taylor Swift song.
|
song.get(songName)
|
Returns lyrics of a Taylor Swift song by its name.
|
song.all()
|
Returns all songs by Taylor Swift.
|
song.filterByAlbum(albumName)
|
Returns songs released by Taylor Swift in a specific album.
|
Retrive Quotes
Function |
Description |
quote.random()
|
Returns a randomly selected Taylor Swift quote.
|
quote.filterBySong(songName)
|
Returns quotes from a Taylor Swift song by its name.
|
quote.album(albumName)
|
Returns all songs by Taylor Swift.
|
Credits
Maintained by
Lakshay Kamat, inspired by the work of Taylor Swift and her fans worldwide.