Usage
var slash = require('slash-helper');
slash.normalizePath('http://my.example.com/123/');
returns http://my.example.com/123
slash.normalizePath('/example/123/');
returns /example/123
var slash = require('slash-helper');
slash.normalizePath('http://my.example.com/123/');
returns http://my.example.com/123
slash.normalizePath('/example/123/');
returns /example/123
npm i slash-helper
0
1.1.0
ISC