1.0.3 • Published 2 years ago

is-http-or-https v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

🌍 » What is that?

EN: This useless packet checks a string for a keyword related to protocol http or https.
PL: Ten bezużyteczny moduł sprawdza string pod kątem słowa kluczowego związanego protokołem z http lub https.

🤔 » How to install?

$ npm install is-http-or-https

📝 » Examples

const checkUrl = require('is-http-or-https');

const url = 'https://example.com';

console.log(checkUrl.protocol(url)); // String => https
console.log(checkUrl.http(url));     // Boolean => false
console.log(checkUrl.https(url));    // Boolean => true

🤝 » Help

Open new Issue on Github.

1.0.2

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago