0.5.5 • Published 3 years ago

@cisco/core v0.5.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

Core

Use helpful functions to reduce parsing and errors.

Installation

Install with npm.

npm i @gve/core

Usage

const { getDomain } = require("@gve/core");

const malformedUrl = "://www.cisco.com/c/en/us/products/datasheet.html";
const domain = getDomain(malformedUrl);
console.log(domain);

Prints cisco.com.

License

Apache 2.0