1.2.8 • Published 4 years ago

video-validator v1.2.8

Weekly downloads
12
License
ISC
Repository
github
Last release
4 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

4 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago