1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00

Merge pull request #169 from 2color/patch-1

Use https in links
This commit is contained in:
Michael M 2021-02-16 17:26:58 +00:00 committed by GitHub
commit 6545e24c24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ An arbitrary-precision Decimal type for JavaScript.
- Faster, smaller, and perhaps easier to use than JavaScript versions of Java's BigDecimal - Faster, smaller, and perhaps easier to use than JavaScript versions of Java's BigDecimal
- No dependencies - No dependencies
- Wide platform compatibility: uses JavaScript 1.5 (ECMAScript 3) features only - Wide platform compatibility: uses JavaScript 1.5 (ECMAScript 3) features only
- Comprehensive [documentation](http://mikemcl.github.io/decimal.js/) and test set - Comprehensive [documentation](https://mikemcl.github.io/decimal.js/) and test set
- Includes a TypeScript declaration file: *decimal.d.ts* - Includes a TypeScript declaration file: *decimal.d.ts*
![API](https://raw.githubusercontent.com/MikeMcl/decimal.js/gh-pages/API.png) ![API](https://raw.githubusercontent.com/MikeMcl/decimal.js/gh-pages/API.png)
@ -51,7 +51,7 @@ import Decimal from './path/to/decimal.mjs';
</script> </script>
``` ```
[Node.js](http://nodejs.org): [Node.js](https://nodejs.org):
```bash ```bash
$ npm install decimal.js $ npm install decimal.js
@ -68,7 +68,7 @@ ES module:
import {Decimal} from 'decimal.js'; import {Decimal} from 'decimal.js';
``` ```
AMD loader libraries such as [requireJS](http://requirejs.org/): AMD loader libraries such as [requireJS](https://requirejs.org/):
```js ```js
require(['decimal'], function(Decimal) { require(['decimal'], function(Decimal) {