remove-leading-slash

2.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i remove-leading-slash

Weekly Downloads

367

Version

2.0.0

License

MIT

Unpacked Size

2.75 kB

Total Files

4

Last publish

Collaborators

  • andreruffert