path.join

1.0.0 • Public • Published

path.join

Node JS function to join paths that always returns forward slashes (uniform for unix and windows). A replacement to path.join

Installation:

npm install path.join

Usage:

var joinPath = require('path.join');

var onlyPath = joinPath('path', '//to/', '/my', 'heart');
//expected value for both UNIX and Windows: path/to/my/heart

Package Sidebar

Install

npm i path.join

Weekly Downloads

2,256

Version

1.0.0

License

none

Last publish

Collaborators

  • mannyvergel