Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 758 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 758 Bytes

remove-leading-slash

CI status npm version npm downloads

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