libreccm-legacy/trunk-images/node_modules/normalize-path
baka a212bb7b37 [3056] Adds Plugin to add Images from the system in tinymce. Now with files...
git-svn-id: https://svn.libreccm.org/ccm/trunk@5722 8810af33-2d31-482b-a856-94f89814c4df
2018-11-03 23:44:15 +00:00
..
LICENSE [3056] Adds Plugin to add Images from the system in tinymce. Now with files... 2018-11-03 23:44:15 +00:00
README.md [3056] Adds Plugin to add Images from the system in tinymce. Now with files... 2018-11-03 23:44:15 +00:00
index.js [3056] Adds Plugin to add Images from the system in tinymce. Now with files... 2018-11-03 23:44:15 +00:00
package.json [3056] Adds Plugin to add Images from the system in tinymce. Now with files... 2018-11-03 23:44:15 +00:00

README.md

normalize-path NPM version NPM monthly downloads NPM total downloads Linux Build Status

Normalize file path slashes to be unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes unless disabled.

Install

Install with npm:

$ npm install --save normalize-path

Usage

var normalize = require('normalize-path');

normalize('\\foo\\bar\\baz\\');
//=> '/foo/bar/baz'

normalize('./foo/bar/baz/');
//=> './foo/bar/baz'

Pass false as the last argument to keep trailing slashes:

normalize('./foo/bar/baz/', false);
//=> './foo/bar/baz/'

normalize('foo\\bar\\baz\\', false);
//=> 'foo/bar/baz/'

About

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Contributors

Commits Contributor
31 jonschlinkert
1 phated

Building docs

(This project's readme.md is generated by verb, please don't edit the readme directly. Any changes to the readme must be made in the .verb.md readme template.)

To generate the readme, run the following command:

$ npm install -g verbose/verb#dev verb-generate-readme && verb

Running tests

Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:

$ npm install && npm test

Author

Jon Schlinkert

License

Copyright © 2017, Jon Schlinkert. Released under the MIT License.


This file was generated by verb-generate-readme, v0.4.3, on March 29, 2017.