From 3e7a03f7913cd41c75e9950ccdc4537f57c9465a Mon Sep 17 00:00:00 2001 From: manny Date: Sat, 22 Nov 2014 05:10:21 +0800 Subject: [PATCH] renamed to path.join --- README.md | 8 ++++---- package.json | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b5b4251..dbe947b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/package.json b/package.json index d0227a1..7be9578 100644 --- a/package.json +++ b/package.json @@ -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": [ @@ -20,10 +20,10 @@ "email": "manny@mvergel.com", "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": {