ulio
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

ulio, simple package for URLs.

version one.

Installation

npm i ulio --save

How to use ulio:

const {domainName, domainWithProtocol} = require('ulio');
 
console.log(domainWithProtocol());
console.log(domainName());

Optiones

Get URL:

getUrl()

Divide URL base on "/":

slashDivider()

Get domain protocol:

getProtocol()

Get domain name with protocol:

domainName()

Get domain with protocol:

domainWithProtocol()

Get domain port:

sitePort()

Get domain search query:

searchQuery()

Get domain path name:

pathName()

Get domain hash address:

hashAddress()

Find specific string index in domain:

StringIndexFinder("writeStringHere")

Check domain if it's encrypted or not:

isEncrypted()

Readme

Keywords

Package Sidebar

Install

npm i ulio

Weekly Downloads

18

Version

1.1.0

License

ISC

Unpacked Size

3.85 kB

Total Files

5

Last publish

Collaborators

  • pooyanpm