From 0614224b2e86d938908f0c524aa7a4fd54a79b6b Mon Sep 17 00:00:00 2001 From: Chetan Shenoy Date: Wed, 4 Jun 2014 11:29:48 -0400 Subject: [PATCH] Update to Readme to reflect node require Since the package is named bignumber.js the user must `require('bignumber.js')` when installing via npm. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d8a03ed..8ca2f3e 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ For Node, put the *bignumber.js* file into the same directory as the file that i var BigNumber = require('./bignumber'); -or put it in a *node_modules* directory within the directory and use `require('bignumber')`. +or put it in a *node_modules* directory within the directory and use `require('bignumber.js')`. The library is also available from the [npm](https://npmjs.org/) registry, so