Skip to content

andreruffert/remove-leading-slash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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