xxgicoxx / eh-url

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

Home Page:https://www.npmjs.com/package/eh-url

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

https://www.npmjs.com/package/eh-url

License:MIT License


Languages

Language:JavaScript 100.0%