# ytmusic-metadata

> Light version of youtube music metadata using Node-ID3

Latest version **0.0.8** (published 2023-11-01) · ISC license · 0 weekly downloads

## Install

```sh
npm install ytmusic-metadata
pnpm add ytmusic-metadata
yarn add ytmusic-metadata
bun add ytmusic-metadata
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2023-11-01 |
| First published | 2023-07-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Thoriq Azzikra |
| Maintainers | nechlophomeria |

## Links

- npm: https://www.npmjs.com/package/ytmusic-metadata
- Repository: https://github.com/thoriqazzikraa/ytmusic-metadata
- Homepage: https://github.com/thoriqazzikraa/ytmusic-metadata#readme
- Issues: https://github.com/thoriqazzikraa/ytmusic-metadata/issues
- npm.io page: https://npm.io/package/ytmusic-metadata

## Dependencies (5)

- [axios](https://npm.io/package/axios.md) ^1.4.0
- [node-id3](https://npm.io/package/node-id3.md) ^0.2.6
- [node-fetch](https://npm.io/package/node-fetch.md) 2.6.6
- [youtube-music-api](https://npm.io/package/youtube-music-api.md) ^1.0.6
- [@nechlophomeriaa/ytdl](https://npm.io/package/@nechlophomeriaa/ytdl.md) ^0.0.1

## Recent versions

- 0.0.8 (latest) — 2023-11-01
- 0.0.7 — 2023-09-03
- 0.0.6 — 2023-09-03
- 0.0.5 — 2023-08-21
- 0.0.4 — 2023-08-21
- 0.0.3 — 2023-07-29
- 0.0.2 — 2023-07-29
- 0.0.1 — 2023-07-28

## 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)
})
```

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