Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thoriqazzikraa/ytmusic-metadata
Light version of youtube music metadata using Node-ID3
https://github.com/thoriqazzikraa/ytmusic-metadata
Last synced: 6 days ago
JSON representation
Light version of youtube music metadata using Node-ID3
- Host: GitHub
- URL: https://github.com/thoriqazzikraa/ytmusic-metadata
- Owner: thoriqazzikraa
- Created: 2023-07-28T19:29:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-01T17:37:02.000Z (about 1 year ago)
- Last Synced: 2024-11-29T17:15:39.143Z (24 days ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Youtube Music Metadata
Light version of youtube music metadata using Node-ID3# Install
`npm i ytmusic-metadata`# Search Function
```js
(async () => {
const yt = require("ytmusic-metadata")
const ytmusic = await yt.searchTrack(query, type) // Default type is song
console.log(ytmusic)
})
```
# Available Type
`"song"`
`"video"`# Example Search Function With Type
```js
(async () => {
const yt = require("ytmusic-metadata")
const ytmusic = await yt.searchTrack("fire flower", "video") // it will return array
console.log(ytmusic)
})
```# Downloads Function
```js
(async () => {
const yt = require("ytmusic-metadata")
const ytmusic = await yt.downloads(query)
console.log(ytmusic)
})
```