1.1.1 • Published 4 years ago

strip-slashes v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

strip-slashes

version install size downloads MIT License Build Status PRs Welcome

Purpose

The purpose of this package is to remove multiple slashes which are added during concatenation of the relative or absolute paths in the code.

Usage

var normalizePath = require("strip-slashes");
console.log(normalizePath("//blog///first-post/"));
// output → /blog/first-post/

Contributing

Read the contributing guidelines

Code of Conduct

We adopt a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

License

MIT