lolite.add 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +12 -1
package/README.md
CHANGED
|
@@ -5,10 +5,12 @@ Calculates the arithmetic sum of two values.
|
|
|
5
5
|
Non-finite or non-numeric values are coerced to zero.
|
|
6
6
|
|
|
7
7
|
```javascript
|
|
8
|
-
const
|
|
8
|
+
const add = require("lolite.add")
|
|
9
9
|
const sum = add(5, 2)
|
|
10
10
|
// sum: 7
|
|
11
11
|
|
|
12
12
|
const coercedSum = add(Infinity, "garbage")
|
|
13
13
|
// result: 0 (0 + 0)
|
|
14
|
-
```
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
This utility is part of the [LoLite](https://github.com/enterprise-npm-ai/lolite) utility suite.
|
package/package.json
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lolite.add",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
|
+
"description": "Enterprise-grade add utility from the LoLite suite",
|
|
4
5
|
"main": "index.js",
|
|
6
|
+
"author": "10x'ly Made Software Ventures AB",
|
|
7
|
+
"license": "EGPSL10X-1.0",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/enterprise-npm-ai/lolite.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/enterprise-npm-ai/lolite/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/enterprise-npm-ai/lolite#readme",
|
|
5
16
|
"dependencies": {
|
|
6
17
|
"lodash.multiply": "^4.9.0",
|
|
7
18
|
"immediate-error": "^7.1.0",
|