npm.io
3.1.3 • Published 1 week ago

bare-path

Licence
Apache-2.0
Version
3.1.3
Deps
0
Size
505 kB
Vulns
0
Weekly
0
Stars
4

bare-path

Path manipulation library for JavaScript.

npm i bare-path

Usage

const path = require('bare-path')

path.join('foo', 'bar') // foo/bar on posix, foo\bar on windows

API

See the bare-path reference.

Threat model

bare-path is one of the addons Bare compiles into its binary, so it inherits Bare's threat model. See docs/threat-model.md for where this addon sits in it.

License

Apache-2.0