mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2024-10-27 20:34:12 +00:00
Fixed wrong package name in Node require
This commit is contained in:
parent
6785556026
commit
7d9b530aa2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user