1.2.8 • Published 3 years ago

video-validator v1.2.8

Weekly downloads
12
License
ISC
Repository
github
Last release
3 years ago

VideoValidatorNodeModule

Hello. This module helps detect if a url is a youtube video. This is useful in Discord music bots (which gave me the inpiration to create this), which is needed to detect if the user is giving a url or a keyword.

This simple module can be installed using this following command:

npm install video-validator 

Once you install it, the function is

const video = require('video-validator');

console.log(video.validate("www.google.com"))

This would then return true or false, depending on the url you provide.

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago