1.0.0 • Published 7 years ago

replacepath v1.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

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';