1.0.19 • Published 4 years ago

v-number-to-words v1.0.19

Weekly downloads
216
License
MIT
Repository
github
Last release
4 years ago

Build Status Coverage Status

v-number-to-words

A Node.js module that returns the spelling of numbers, whether passed as a string or a float. Generally reliable for up to 16 (or 17 in some cases) of floats.

Installation

npm install v-number-to-words --save
yarn add v-number-to-words
bower install pluralize --save

Usage

Javascript

var vn2w = require('v-number-to-words');
var words = vn2w.numberToWords('1.1');
Output should be 'one and one tenth'

TypeScript

import { numberToWords } from 'v-number-to-words';
console.log(numberToWords(1.1))
Output should be 'one and one tenth'

AMD

define(function(require,exports,module){
  var vn2w = require('v-number-to-words');
});

Test

npm run test
1.0.19

4 years ago

1.0.17

5 years ago

1.0.16

5 years ago

1.0.12

5 years ago

1.0.10

5 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago