/eh-url

Node.js package for check whether a string is a URL.

Primary LanguageJavaScriptMIT LicenseMIT

eh-url

Node.js package for check if a string is a URL.

Features

  • Check if a string is a URL

Prerequisites

Installation

npm install eh-url

Example

const EhUrl = require('eh-url');

const ehUrl = new EhUrl();

(async () => {
    const url = await ehUrl.check('https://google.com.br/');
    console.log(url);
})();

Built With

Authors

Acknowledgments