replacepath

1.0.0 • Public • Published

Installation

Install package with NPM and add it to your development dependencies:

npm install --save-dev replacepath

Usage

var replacepath = require('replacepath');
 
replacepath('a\b\c') => 'a/b/c';
 
replacepath('a///b///c') => 'a/b/c';
 
replacepath('a/b...../c') => 'a/c';
 
replacepath('a/./b/./c') => 'a/b/c';

Readme

Keywords

Package Sidebar

Install

npm i replacepath

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • yinjiazeng