unipath
v0.1.3
Published
An idiomatic file joining utility
Downloads
5
Maintainers
Readme
unipath
An idiomatic file joining utility
Install
npm i -D unipath
Usage
import unipath from "unipath"
// create a path.join "partial"
const dist = unipath('dist')
// join paths to base paths
const entry = dist('scripts', 'app', 'index.js')
// entry would be './dist/scripts/app/index.js'
License
MIT © Manu Phatak