Skip to content

Commit

Permalink
renamed to path.join
Browse files Browse the repository at this point in the history
  • Loading branch information
manny committed Nov 21, 2014
1 parent a5db9db commit 3e7a03f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
joinPath-js
path.join
===========

Function to join paths that always returns forward slashes (uniform for unix and windows). A replacement to 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 joinPath```
```npm install path.join```

###Usage:
```
var joinPath = require('joinPath');
var joinPath = require('path.join');
var onlyPath = joinPath('path', '//to/', '/my', 'heart');
//expected value for both UNIX and Windows: path/to/my/heart
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "joinPath",
"name": "join.path",
"version": "1.0.0",
"description": "Function to join paths that always returns forward slashes (uniform for unix and windows). A replacement to path.join",
"keywords": [
Expand All @@ -20,10 +20,10 @@
"email": "[email protected]",
"url": "http://www.mvergel.com/"
},
"homepage": "https://github.com/mannyvergel/joinPath-js",
"homepage": "https://github.com/mannyvergel/path.join",
"repository": {
"type": "git",
"url": "https://github.com/mannyvergel/joinPath-js.git"
"url": "https://github.com/mannyvergel/path.join"
},

"engines": {
Expand Down

0 comments on commit 3e7a03f

Please sign in to comment.