1.0.1 • Published 7 years ago

root-extract.js v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

rootExtract.js

Simple package to extract the root domain from an URL

Install

	npm install root-extract

Usage

	const root = require('root.extract')

	let link = "www.example.co.uk"

	let URL = root.rootDomain(link)

	console.log(URL.rootDomain)

	//Prints out 'example.co.uk'
1.0.1

7 years ago

1.0.0

7 years ago