Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nechlophomeriaa/spotifydl

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nechlophomeriaa/spotifydl

Spotify Downloader with metadata using Node-ID3

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.4K
increased by19.03%
Maintainers
1
Weekly downloads
 
Created
Source

Usage

const { search, downloadTrack } = require("@nechlophomeriaa/spotifydl")

Search Function

(async () => {
const searchTrack = await search(query, limit) //
console.log(searchTrack)
// Promise will be return an Array
})

/*
Example: {

(async () => {
const searchTrack = await search("summer salt tidal waves", 5)
console.log(searchTrack)
})

}
*/

Download Function

(async () => {
const downTrack = await downloadTrack(song) // query || url
console.log(downTrack)
})
/*
Example Output:

{
  status: true,
  title: 'Be More',
  artist: 'Stephen Sanchez',
  uploadDate: '2023-8-3',
  album: 'Be More',
  size: '3.6 MB',
  duration: '00:03:52',
  thumbnail: 'https://i.scdn.co/image/ab67616d0000b273d8623313343c12b4b46f8235',
  audioBuffer: <Buffer 49 44 33 03 00 00 00 09 08 29 54 49 54 32 00 00 00 11 00 00 01 ff fe 42 00 65 00 20 00 4d 00 6f 00 72 00 65 00 54 50 45 31 00 00 00 21 00 00 01 ff fe ... 3857031 more bytes>
}
*/

If there is bug/error please make an issue!

Keywords

FAQs

Package last updated on 19 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc