@io-arc/path-build
Path create to relative or absolute.
See the documents.
Install
$ npm i @io-arc/path-build
Usage
import PathBuild from '@io-arc/path-build'
const dist = PathBuild.relative(['abc', 'def'])
// -> 'abc/def'
const ab = PathBuild.absolute(['abc', 'def'])
// -> '/Users/xxxx/xxxx/abc/def'