Permalink
Browse files

Update name and details.

  • Loading branch information...
1 parent d0c3ef4 commit fd65fcb7bdebdfbc2a17cb6b04f7cff8f0f15081 @blakeembrey committed Jul 6, 2013
Showing with 16 additions and 63 deletions.
  1. +0 −47 .gitignore
  2. +10 −10 Readme.md
  3. +2 −2 component.json
  4. +4 −4 package.json
View
@@ -1,49 +1,2 @@
-# Read about how to use .gitignore: http://h5bp.com/ae
-
-# Numerous always-ignore extensions
-*.diff
-*.err
-*.orig
-*.log
-*.rej
-*.swo
-*.swp
-*.vi
-*~
-*.sass-cache
-
-# OS or Editor folders
.DS_Store
-._*
-Thumbs.db
-.cache
-.project
-.settings
-.tmproj
-nbproject
-*.sublime-project
-*.sublime-workspace
-
-# Dreamweaver added files
-_notes
-dwsync.xml
-
-# Komodo
-*.komodoproject
-.komodotools
-
-# Espresso
-*.esproj
-*.espressostorage
-
-# Rubinius
-*.rbc
-
-# Folders to ignore
-.hg
-.svn
-.CVS
-.idea
-
-# Project folders to ignore
node_modules
View
@@ -1,22 +1,22 @@
-# Number Words
+# Numbered
Turn any number into a formatted word string, and turn it back again.
## Installation
```
-npm install number-words --save
+npm install numbered --save
```
## API
```javascript
-var numbers = require('number-words');
+var numbered = require('numbered');
```
-* [numbers( number|string )](#function)
-* [numbers.parse( string )](#parse)
-* [numbers.stringify( number )](#stringify)
+* [numbered( number|string )](#function)
+* [numbered.parse( string )](#parse)
+* [numbered.stringify( number )](#stringify)
### Function
@@ -27,10 +27,10 @@ Number Words exposes a single function that accepts either a string or a number.
Parses a string into a number as best as possible.
```
-numbers.parse('ninety nine');
+numbered.parse('ninety nine');
=> 99
-numbers.parse('point two five nine');
+numbered.parse('point two five nine');
=> 0.259
```
@@ -39,10 +39,10 @@ numbers.parse('point two five nine');
Stringifies a number to the word equivalent.
```
-numbers.stringify(99);
+numbered.stringify(99);
=> "ninety nine"
-numbers.stringify(0.259);
+numbered.stringify(0.259);
=> "zero point two five nine"
```
View
@@ -1,6 +1,6 @@
{
- "name": "number-words",
- "version": "0.0.3",
+ "name": "numbered",
+ "version": "0.0.4",
"main": [
"./index.js"
],
View
@@ -1,12 +1,12 @@
{
- "name": "number-words",
- "version": "0.0.3",
- "description": "Turn a number into a formatted string",
+ "name": "numbered",
+ "version": "0.0.4",
+ "description": "Turns a number into word based equivalent, and can parse it back again",
"main": "index.js",
"scripts": {
"test": "./node_modules/mocha/bin/mocha test.js"
},
- "repository": "",
+ "repository": "git@github.com:blakeembrey/node-numbered.git",
"keywords": [
"numbers",
"words"

0 comments on commit fd65fcb

Please sign in to comment.