integer-values 2.0.1 → 2.0.3
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 +33 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ const negTwo = require("@negative-numbers/two")
|
|
|
55
55
|
const answer = forty + negTwo // 38
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
## Architecture
|
|
58
|
+
## Main Architecture
|
|
59
59
|
|
|
60
60
|
The library follows a hub-and-spoke model where the main `integer-values` package aggregates all individual integer packages:
|
|
61
61
|
|
|
@@ -74,6 +74,8 @@ packages/
|
|
|
74
74
|
│ ├── two/
|
|
75
75
|
│ ├── ...
|
|
76
76
|
│ └── one-hundred/
|
|
77
|
+
├── core/
|
|
78
|
+
│ ├── ...
|
|
77
79
|
index.js
|
|
78
80
|
index.d.ts
|
|
79
81
|
test-suite.js
|
|
@@ -81,6 +83,36 @@ test-suite.js
|
|
|
81
83
|
|
|
82
84
|
Each package in the `@positive-numbers` and `@negative-numbers` namespace exports a single, verified integer constant.
|
|
83
85
|
|
|
86
|
+
`integer-values` also includes some internal packages in its repository that are used internally by the `@positive-numbers/` packages. They are under the `core` directory in the `packages` folder. We recommend that you do not use these directly, but here is a list of them:
|
|
87
|
+
|
|
88
|
+
- [integer-value-positive-zero](https://github.com/10xly/integer-values/tree/main/packages/core/integer-value-positive-zero) - A package that exports a function that returns zero.
|
|
89
|
+
- [libnumbers](https://github.com/10xly/integer-values/tree/main/packages/core/libnumbers) - A package that exports two functions: one that returns zero, and one that returns eighteen.
|
|
90
|
+
- [integer-value-positive-one](https://github.com/10xly/integer-values/tree/main/packages/core/integer-value-positive-one) - A package that exports a function that returns one.
|
|
91
|
+
- [es-two](https://github.com/10xly/integer-values/tree/main/packages/core/es-two) - A package that exports the number two.
|
|
92
|
+
- [integer-value-positive-two](https://github.com/10xly/integer-values/tree/main/packages/core/integer-value-positive-two) - A package that exports a function that returns two.
|
|
93
|
+
- [numeric-constant-three](https://github.com/10xly/integer-values/tree/main/packages/core/numeric-constant-three) - A package that exports a function that returns three.
|
|
94
|
+
- [integer-value-positive-three](https://github.com/10xly/integer-values/tree/main/packages/core/integer-value-positive-three) - A package that exports a function that returns three.
|
|
95
|
+
- [always-four](https://github.com/10xly/integer-values/tree/main/packages/core/always-four) - A package that exports a function that returns four.
|
|
96
|
+
- [integer-value-positive-four](https://github.com/10xly/integer-values/tree/main/packages/core/integer-value-positive-four) - A package that exports a function that returns four.
|
|
97
|
+
- [integer-value-positive-five](https://github.com/10xly/integer-values/tree/main/packages/core/integer-value-positive-five) - A package that exports a function that returns five.
|
|
98
|
+
- [number-six](https://github.com/10xly/integer-values/tree/main/packages/core/number-six) - A package that exports a function that returns six.
|
|
99
|
+
- [integer-value-positive-six](https://github.com/10xly/integer-values/tree/main/packages/core/integer-value-positive-six) - A package that exports a function that returns six.
|
|
100
|
+
- [se7en](https://github.com/10xly/integer-values/tree/main/packages/core/se7en) - A package that exports a function that returns seven.
|
|
101
|
+
- [integer-value-positive-seven](https://github.com/10xly/integer-values/tree/main/packages/core/integer-value-positive-seven) - A package that exports a function that returns seven.
|
|
102
|
+
- [integer-value-positive-eight](https://github.com/10xly/integer-values/tree/main/packages/core/integer-value-positive-eight) - A package that exports a function that returns eight.
|
|
103
|
+
- [value-nine](https://github.com/10xly/integer-values/tree/main/packages/core/value-nine) - A package that exports a function that returns nine.
|
|
104
|
+
- [integer-value-positive-nine](https://github.com/10xly/integer-values/tree/main/packages/core/integer-value-positive-nine) - A package that exports a function that returns nine.
|
|
105
|
+
- [the-number-ten](https://github.com/10xly/integer-values/tree/main/packages/core/the-number-ten) - A package that exports ten.
|
|
106
|
+
- [tw12ve](https://github.com/10xly/integer-values/tree/main/packages/core/tw12ve) - A package that exports a function that returns twelve.
|
|
107
|
+
- [seventeen-integer](https://github.com/10xly/integer-values/tree/main/packages/core/seventeen-integer) - A package that exports a function that returns seventeen.
|
|
108
|
+
- [eighteen-positive-number-interactions](https://github.com/10xly/integer-values/tree/main/packages/core/eighteen-positive-number-interactions) - A package that exports a function that returns eighteen.
|
|
109
|
+
- [nineteenify](https://github.com/10xly/nineteenify) - A package that exports a function that returns nineteen. Note that this one has its own repository - it's not in this one. You can find its repository by the link.
|
|
110
|
+
- [numbertwenty](https://github.com/10xly/numbertwenty) - A package that exports a function that returns nineteen. Note that this one has its own repository - it's not in this one. You can find its repository by the link.
|
|
111
|
+
- [always-21](https://github.com/10xly/integer-values/tree/main/packages/core/always-21) - A package that exports a function that returns 21.
|
|
112
|
+
- [numbertwentyfour](https://github.com/10xly/integer-values/tree/main/packages/core/numbertwentyfour) - A package that exports a function that returns 24.
|
|
113
|
+
- [sixty-seven](https://github.com/10xly/integer-values/tree/main/packages/core/sixty-seven) - A package that exports a function that returns sixty-seven.
|
|
114
|
+
- [libeightyseven](https://github.com/10xly/libeightyseven) - A package that exports a function that returns eighty-seven. Note that this one has its own repository - it's not in this one. You can find its repository by the link.
|
|
115
|
+
|
|
84
116
|
## Testing
|
|
85
117
|
|
|
86
118
|
The library achieves 100% test coverage through the Enterprise 10x Testing Framework JS:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "integer-values",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Get Numbers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"integer",
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
"@positive-numbers/seventy-eight": "*",
|
|
185
185
|
"@positive-numbers/seventy-five": "*",
|
|
186
186
|
"@positive-numbers/seventy-four": "*",
|
|
187
|
-
"@positive-numbers/seventy-nine": "
|
|
187
|
+
"@positive-numbers/seventy-nine": "4.0.0",
|
|
188
188
|
"@positive-numbers/seventy-one": "*",
|
|
189
189
|
"@positive-numbers/seventy-seven": "*",
|
|
190
190
|
"@positive-numbers/seventy-six": "*",
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
"@positive-numbers/sixty-four": "*",
|
|
199
199
|
"@positive-numbers/sixty-nine": "*",
|
|
200
200
|
"@positive-numbers/sixty-one": "*",
|
|
201
|
-
"@positive-numbers/sixty-seven": "
|
|
201
|
+
"@positive-numbers/sixty-seven": "4.0.0",
|
|
202
202
|
"@positive-numbers/sixty-six": "*",
|
|
203
203
|
"@positive-numbers/sixty-three": "*",
|
|
204
204
|
"@positive-numbers/sixty-two": "*",
|