Miss any of our Open RFC calls?Watch the recordings here! »

is-cdn-url

1.0.0 • Public • Published

is-cdn-url

Last version Build Status Coverage Status Dependency status Dev Dependencies Status NPM Status

Check if an URL is from CDN.

Install

$ npm install is-cdn-url --save

Usage

const isCdnUrl = require('is-cdn-url')
 
isCdnUrl('//cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js')
// => true
 
isCdnUrl('https://kikobeats.com')
// => false

License

is-cdn-url © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats

Install

npm i is-cdn-url

DownloadsWeekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

7.34 kB

Total Files

10

Last publish

Collaborators

  • avatar