remove-leading-slash
v2.0.0
Published
Remove leading slashes from a given string
Downloads
870
Readme
remove-leading-slash
Remove leading slashes from a given string
Install
$ npm i remove-leading-slash
Usage
import removeLeadingSlash from 'remove-leading-slash';
removeLeadingSlash('/some/random/path/');
// => 'some/random/path/'
License
MIT © André Ruffert