@gonetone/get-youtube-id-by-url

1.0.1 • Public • Published

Get YouTube ID By Url (Node.js Library)

Get YouTube channel or video id by url!

Report Issues

Please report any bugs you discover at https://github.com/GoneToneStudio/node-get-youtube-id-by-url/issues

Installation

Node.js 12.0.0 or newer is required.

With NPM

npm install @gonetone/get-youtube-id-by-url

Examples

const { channelId, videoId } = require('@gonetone/get-youtube-id-by-url')

Get YouTube Channel ID By Url

channelId('YouTube Channel Url').then((id) => {
  console.log(id)
})

Support URL format:

Get YouTube Video ID By Url

videoId('YouTube Video Url').then((id) => {
  console.log(id)
})

Support URL format:

License

MIT

Package Sidebar

Install

npm i @gonetone/get-youtube-id-by-url

Weekly Downloads

96

Version

1.0.1

License

MIT

Unpacked Size

11.5 kB

Total Files

10

Last publish

Collaborators

  • gonetone