This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
count with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Here's all this does so far:
// Factory's name will be "FactoryFive" _n = 'Factory' + count(5).camel(); // Unit tests test.equal(count(764).camel(), '"SevenHundredSixtyFour"'); test.equal(count(999999999999999).camel(), 'NineHundredNinetyNineTrillionNineHundredNinetyNineBillionNineHundredNinetyNineMillionNineHundredNinetyNineThousandNineHundredNinetyNine');
Count.js is freely distributable under the terms of the MIT license.