1.0.6 • Published 8 years ago

iso-path-join v1.0.6

Weekly downloads
14
License
ISC
Repository
github
Last release
8 years ago

iso-path-join

Node.js's native 'path' module's 'join' method made isomorphic(/universal)

useful for using 'require' on the front end or for dynamically generating routes. Used the exact same way as Node.js's native path.join with the bonus of being able to handle arrays

import pathJoin from 'iso-path-join';

var joinedPath = pathJoin('..', '..', './', 'testFolder', ['check', 'me', 'out']);

console.log(joinedPath); // => '../.././testFolder/check/me/out'

NPM

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago