diff --git a/README.md b/README.md index 191f11e..6c1e5f8 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ console.log(time); // will log 98718 and can be as messy as you like: ```js -var str = '1 d 3h 25 m 1 8s'; +var str = '1 d 3HOurS 25 min 1 8s'; var time = str.parseTime(); console.log(time); // will log 98718 @@ -165,7 +165,7 @@ All you need to do to get timestring working in the browser is download / clone ``` ### Node.js -Timestring is also node compatible. To install for a project, navigate to the projects root folder and in your terminal and type the following: +Timestring is also node compatible. To install for a project, navigate to the projects root folder and in your terminal and type the following: ``` npm install timestring @@ -179,4 +179,4 @@ In your node application you need to require the timestirng module: var Timestring = require('timestring'); ``` -Once you have done this, you will beable to use timestring in node, the same way you do in the browser! \ No newline at end of file +Once you have done this, you will beable to use timestring in node, the same way you do in the browser! diff --git a/package.json b/package.json index a2860b7..944c32b 100644 --- a/package.json +++ b/package.json @@ -6,5 +6,5 @@ "author" : "Mike Barrett