@io-arc/path-build
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@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'

Readme

Keywords

none

Package Sidebar

Install

npm i @io-arc/path-build

Weekly Downloads

3

Version

1.0.3

License

ISC

Unpacked Size

3.02 kB

Total Files

5

Last publish

Collaborators

  • arcone