An open API service indexing awesome lists of open source software.

https://github.com/caseywebdev/npath

Normalized path module, forward slash all the things.
https://github.com/caseywebdev/npath

Last synced: 2 months ago
JSON representation

Normalized path module, forward slash all the things.

Awesome Lists containing this project

README

          

# npath

Normalized path module, forward slash all the things.

```
const path = require('npath');

// Do anything you'd do with the Node.js path module, but all paths will be
// normalized to forward slashes.
path.join('foo\\bar', 'buz/baz'); // => 'foo/bar/buz/baz'
```