Miss any of our Open RFC calls?Watch the recordings here! »

remove-leading-slash

1.0.1 • Public • Published

remove-leading-slash

Build Status npm version

Remove leading slashes from a given string

Install

$ npm i remove-leading-slash -S

Usage

const removeLeadingSlash = require('remove-leading-slash');
 
removeLeadingSlash('/some/random/path/');
// => 'some/random/path/'

License

MIT © André Ruffert

Install

npm i remove-leading-slash

DownloadsWeekly Downloads

189

Version

1.0.1

License

MIT

Last publish

Collaborators

  • avatar