slash-helper

1.1.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i slash-helper

Weekly Downloads

0

Version

1.1.0

License

ISC

Last publish

Collaborators

  • maxmao