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.
npm install v-number-to-words --save
yarn add v-number-to-words
bower install pluralize --save
var vn2w = require('v-number-to-words');
var words = vn2w.numberToWords('1.1');
Output should be 'one and one tenth'
import { numberToWords } from 'v-number-to-words';
console.log(numberToWords(1.1))
Output should be 'one and one tenth'
define(function(require,exports,module){
var vn2w = require('v-number-to-words');
});
npm run test