1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-09-28 22:40:48 +00:00

Fixed wrong package name in Node require

This commit is contained in:
Jonah Dahlquist 2016-03-02 11:50:36 -08:00
parent 6785556026
commit 7d9b530aa2

View File

@ -46,7 +46,7 @@ It can be loaded using a script tag in an HTML document for the browser
or as a [Node.js](http://nodejs.org) module using `require`. or as a [Node.js](http://nodejs.org) module using `require`.
```js ```js
var Decimal = require('decimal'); var Decimal = require('decimal.js');
``` ```
For Node, the library is available from the [npm](https://npmjs.org/) registry For Node, the library is available from the [npm](https://npmjs.org/) registry