New: Introducing PHP and Composer Support.Read the Announcement
Socket
Book a DemoInstallSign in
Socket

schemeless

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schemeless

Remove the parts of URLs that humans don't really need to see

Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

schemeless

Remove the parts of URLs that humans don't really need to see.

Examples

https://example.com       -> example.com
http://foo.example.com    -> foo.example.com
http://www.oldschool.com  -> oldschool.com
https://website.com/      -> website.com
https://a.com/foo#bar     -> a.com/foo#bar
HTTP://LOUDBOT.COM        -> LOUDBOT.COM

Installation

npm install schemeless --save

Usage

var schemeless = require("schemeless")
schemeless("https://example.com")

Test

npm install
npm test

Keywords

url

FAQs

Package last updated on 20 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts