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.
- Host: GitHub
- URL: https://github.com/caseywebdev/npath
- Owner: caseywebdev
- License: mit
- Created: 2016-05-25T21:19:26.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-25T21:19:53.000Z (over 9 years ago)
- Last Synced: 2025-06-02T15:51:12.559Z (7 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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'
```