Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

remove-leading-slash

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remove-leading-slash

Remove leading slashes from a given string


Version published
Maintainers
1
Created

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

FAQs

Package last updated on 23 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts