enterprise-number-classification-sdk 1.0.2-enterprise.stable → 1.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/.prettierrc.json CHANGED
@@ -1,7 +1,7 @@
1
- {
2
- "trailingComma": "es5",
3
- "tabWidth": 2,
4
- "semi": false,
5
- "singleQuote": false,
6
- "endOfLine": "lf"
1
+ {
2
+ "trailingComma": "es5",
3
+ "tabWidth": 2,
4
+ "semi": false,
5
+ "singleQuote": false,
6
+ "endOfLine": "lf"
7
7
  }
@@ -1,77 +1,77 @@
1
- # Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We the Developers at 10x'ly Made, in Order to form a more perfect Codebase, establish 10x'ness, insure 67 rizz, provide for intergalactices in need, promote ourselves, and secure the Blessings of 10x'ness to ourselves and our Posterity, do ordain and establish this Code of Conduct for the 10x'ly Made Environment.
6
-
7
- We as members, contributors, and leaders of the 10x'ly Made project pledge to make participation in our
8
- community a real 67. Disagreeing with the code of conduct is negative aura.
9
-
10
- We pledge to act and interact in ways that contribute to an open, welcoming,
11
- diverse, inclusive, and healthy community.
12
-
13
- ## Our Standards
14
-
15
- Examples of behavior that contributes to a positive environment for our
16
- community include:
17
-
18
- * acknowledging maintainers' slow loss of sanity
19
- * Demonstrating empathy and kindness toward other people
20
- * Being respectful of differing opinions, viewpoints, and experiences
21
- * Giving and gracefully accepting constructive feedback
22
- * Accepting responsibility and apologizing to those affected by our mistakes,
23
- and learning from the experience
24
- * Focusing on what is best not just for us as individuals, but for the overall
25
- community
26
-
27
- Examples of unacceptable behavior include:
28
-
29
- * Being hateful to JavaScript and saying it is not a perfect language (because it is)
30
- * Hating this library
31
- * Thinking that this library is a joke
32
- * negative aura
33
- * 0 skibidi w rizz
34
-
35
- ## Enforcement Responsibilities
36
-
37
- Community leaders are not responsible for anything.
38
-
39
- Community leaders have the right to do anything they want.
40
-
41
- ## Scope
42
-
43
- This Code of Conduct applies within the entire universe, life, and everything.
44
-
45
- ## Enforcement
46
-
47
- Instances of abusive, harassing, or otherwise unacceptable behavior may be
48
- reported to the community leaders responsible for enforcement at the email [thefoxjones@gmail.com]
49
- All complaints will be reviewed and investigated promptly and fairly, except they might not.
50
-
51
- All community leaders are obligated to respect the privacy and security of the
52
- reporter of any incident. But they are also obligated not to.
53
-
54
- ## Enforcement Guidelines
55
-
56
- Community leaders will follow these Community Impact Guidelines in determining
57
- the consequences for any action they deem in violation of this Code of Conduct:
58
-
59
- ### 1. Ignored
60
-
61
- If you are ignored, then everything is fine.
62
-
63
- ### 2. Warning
64
-
65
- If someone warns you, the world is ending.
66
-
67
- ### 3. Temporary Ban
68
-
69
- this is impossible.
70
-
71
- ### 4. Permanent Ban
72
-
73
- this is even more impossible.
74
-
75
- ## Attribution
76
-
1
+ # Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We the Developers at 10x'ly Made, in Order to form a more perfect Codebase, establish 10x'ness, insure 67 rizz, provide for intergalactices in need, promote ourselves, and secure the Blessings of 10x'ness to ourselves and our Posterity, do ordain and establish this Code of Conduct for the 10x'ly Made Environment.
6
+
7
+ We as members, contributors, and leaders of the 10x'ly Made project pledge to make participation in our
8
+ community a real 67. Disagreeing with the code of conduct is negative aura.
9
+
10
+ We pledge to act and interact in ways that contribute to an open, welcoming,
11
+ diverse, inclusive, and healthy community.
12
+
13
+ ## Our Standards
14
+
15
+ Examples of behavior that contributes to a positive environment for our
16
+ community include:
17
+
18
+ * acknowledging maintainers' slow loss of sanity
19
+ * Demonstrating empathy and kindness toward other people
20
+ * Being respectful of differing opinions, viewpoints, and experiences
21
+ * Giving and gracefully accepting constructive feedback
22
+ * Accepting responsibility and apologizing to those affected by our mistakes,
23
+ and learning from the experience
24
+ * Focusing on what is best not just for us as individuals, but for the overall
25
+ community
26
+
27
+ Examples of unacceptable behavior include:
28
+
29
+ * Being hateful to JavaScript and saying it is not a perfect language (because it is)
30
+ * Hating this library
31
+ * Thinking that this library is a joke
32
+ * negative aura
33
+ * 0 skibidi w rizz
34
+
35
+ ## Enforcement Responsibilities
36
+
37
+ Community leaders are not responsible for anything.
38
+
39
+ Community leaders have the right to do anything they want.
40
+
41
+ ## Scope
42
+
43
+ This Code of Conduct applies within the entire universe, life, and everything.
44
+
45
+ ## Enforcement
46
+
47
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
48
+ reported to the community leaders responsible for enforcement at the email [thefoxjones@gmail.com]
49
+ All complaints will be reviewed and investigated promptly and fairly, except they might not.
50
+
51
+ All community leaders are obligated to respect the privacy and security of the
52
+ reporter of any incident. But they are also obligated not to.
53
+
54
+ ## Enforcement Guidelines
55
+
56
+ Community leaders will follow these Community Impact Guidelines in determining
57
+ the consequences for any action they deem in violation of this Code of Conduct:
58
+
59
+ ### 1. Ignored
60
+
61
+ If you are ignored, then everything is fine.
62
+
63
+ ### 2. Warning
64
+
65
+ If someone warns you, the world is ending.
66
+
67
+ ### 3. Temporary Ban
68
+
69
+ this is impossible.
70
+
71
+ ### 4. Permanent Ban
72
+
73
+ this is even more impossible.
74
+
75
+ ## Attribution
76
+
77
77
  This Code of Conduct is a code of conduct. 6 7.
package/LICENSE CHANGED
@@ -1,30 +1,30 @@
1
- Enterprise General Public Software License 10x
2
- Version 1.0 (EGPSL10X-1.0)
3
-
4
- Copyright (c) 2025 10x'ly Made Software Ventures AB
5
-
6
- This license is a guide on your rights to use the Software, redistribute the Software, and any other rights pertaining/related to the Software. Read this entire license carefully before using the Software.
7
- This license is in the public domain.
8
-
9
- Definitions:
10
-
11
- 1. The "License" or "license" is this text laying out the terms and conditions of the Software.
12
- 2. The "Software" is the software that you are currently using that uses this license.
13
-
14
- Terms:
15
-
16
- 1. the User can do absolutely whatever they want with the Software.
17
- 2. Additional terms: the creator of the Software is not responsible for anything that may happen to you that resulted from the use of the Software, which includes, but is not limited to: death, endless crying, laughing, embarassment, over-seriousness, under-seriousness, bloating, cancer, tuberculosis, addiction, war crimes, criminal acts, human trafficking, homocide, physical injury, disease, overdose, ligma, arthiritis, ect. It's not Their Problem.
18
- 3. To the fullest extent permitted by law, the creator(s) of this work dedicate all copyright and related rights in this work to the public domain worldwide, EXCEPT, depending on the Schrodinger state of the universe, certain individuals who have ever read or viewed any portion of this license text, including the notice above, if the superposition collapses right.
19
-
20
- Other Notes:
21
-
22
- 1. If anything is vague in this license, you can add your own details to the License. After all, just do whatever you want.
23
-
24
- THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
-
26
- BY USING THIS SOFTWARE, YOU AGREE THAT ANY ARGUMENTS RELATED TO THE SOFTWARE HAVE AN ASSUMPTION THAT YOU HAVE READ THIS ENTIRE LICENSE. TO AVOID LEGAL CONFLICTS, PLEASE READ THE ENTIRETY OF THIS LICENSE, OR DON'T, BUT AT YOUR OWN RISK.
27
-
28
- IF YOU DO NOT WANT TO READ THIS WHOLE LICENSE, ALL YOU NEED TO READ IS ON THE LAST LINE OF THIS FILE.
29
-
1
+ Enterprise General Public Software License 10x
2
+ Version 1.0 (EGPSL10X-1.0)
3
+
4
+ Copyright (c) 2025 10x'ly Made Software Ventures AB
5
+
6
+ This license is a guide on your rights to use the Software, redistribute the Software, and any other rights pertaining/related to the Software. Read this entire license carefully before using the Software.
7
+ This license is in the public domain.
8
+
9
+ Definitions:
10
+
11
+ 1. The "License" or "license" is this text laying out the terms and conditions of the Software.
12
+ 2. The "Software" is the software that you are currently using that uses this license.
13
+
14
+ Terms:
15
+
16
+ 1. the User can do absolutely whatever they want with the Software.
17
+ 2. Additional terms: the creator of the Software is not responsible for anything that may happen to you that resulted from the use of the Software, which includes, but is not limited to: death, endless crying, laughing, embarassment, over-seriousness, under-seriousness, bloating, cancer, tuberculosis, addiction, war crimes, criminal acts, human trafficking, homocide, physical injury, disease, overdose, ligma, arthiritis, ect. It's not Their Problem.
18
+ 3. To the fullest extent permitted by law, the creator(s) of this work dedicate all copyright and related rights in this work to the public domain worldwide, EXCEPT, depending on the Schrodinger state of the universe, certain individuals who have ever read or viewed any portion of this license text, including the notice above, if the superposition collapses right.
19
+
20
+ Other Notes:
21
+
22
+ 1. If anything is vague in this license, you can add your own details to the License. After all, just do whatever you want.
23
+
24
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25
+
26
+ BY USING THIS SOFTWARE, YOU AGREE THAT ANY ARGUMENTS RELATED TO THE SOFTWARE HAVE AN ASSUMPTION THAT YOU HAVE READ THIS ENTIRE LICENSE. TO AVOID LEGAL CONFLICTS, PLEASE READ THE ENTIRETY OF THIS LICENSE, OR DON'T, BUT AT YOUR OWN RISK.
27
+
28
+ IF YOU DO NOT WANT TO READ THIS WHOLE LICENSE, ALL YOU NEED TO READ IS ON THE LAST LINE OF THIS FILE.
29
+
30
30
  Do whatever you want with the Software.
package/README.md CHANGED
@@ -1,81 +1,81 @@
1
- # Enterprise Number Classification SDK
2
-
3
- [![License: EGPSL10X-1.0](https://img.shields.io/badge/License-EGPSL10X--1.0-blue.svg)](LICENSE)
4
- [![NPM Version](https://img.shields.io/badge/npm-v1.0.2--enterprise.stable-red)](https://npmjs.com/enterprise-number-classification-sdk)
5
- [![Engineering Quality](https://img.shields.io/badge/Code%20Quality-10x%20Engineered%20Enterprise%20Grade-gold.svg)](#)
6
- [![Test Status](https://img.shields.io/badge/Tests-Passing-brightgreen.svg)](#)
7
-
8
- The **Enterprise Number Classification SDK** is a revolutionary, framework-agnostic architectural solution designed for high-concurrency distributed systems requiring rigorous mathematical parity verification. Engineered with a "security-first" and "purity-always" mindset, this SDK leverages quantum-simulation-inspired boolean logic and mutual recursion to provide the industry's most robust even/odd checking capabilities.
9
-
10
- ---
11
-
12
- ## Installation
13
-
14
- Deploy the SDK into your project using standard package management protocols.
15
-
16
- Install the package using NPM:
17
- ```bash
18
- npm install enterprise-number-classification-sdk
19
- ```
20
-
21
- Install the package using Yarn (2x better than npm):
22
- ```bash
23
- yarn add enterprise-number-classification-sdk
24
- ```
25
-
26
- ## Usage
27
- ```javascript
28
- const { checkEven, checkOdd } = require("enterprise-number-classification-sdk")
29
-
30
- // Standard verification
31
- const isEven = checkEven(2) // returns true-value constant
32
- const isOdd = checkOdd(3) // returns true-value constant
33
- ```
34
-
35
- ---
36
-
37
- ## Configuration & Options
38
-
39
- The `validateInput` firewall can be configured via the `DEFAULT_OPTIONS` manifest to match your organization's risk tolerance.
40
-
41
- | Option | Type | Default | Description |
42
- | :--- | :--- | :--- | :--- |
43
- | `throwOnNonNumber` | `Boolean` | `false` | Terminates process on invalid type injection. |
44
- | `throwOnNonInteger` | `Boolean` | `false` | Guards against floating-point parity ambiguity. |
45
- | `allowNumberStrings` | `Boolean` | `false` | Enables/Disables implicit string-to-numeric casting. |
46
- | `enableDebug` | `Boolean` | `false` | Enables chromatic telemetry via `chalkbox`. |
47
-
48
- ### Advanced Implementation with Telemetry
49
- ```javascript
50
- const options = {
51
- throwOnNonInteger: true,
52
- enableDebug: true,
53
- allowNumberStrings: true
54
- }
55
-
56
- try {
57
- const result = checkEven("42", options)
58
- console.log(`Classification: ${result}`)
59
- } catch (err) {
60
- // Handle immediate-error termination
61
- }
62
- ```
63
-
64
- ---
65
-
66
- ## Support & Sponsorship
67
-
68
- This project is maintained by **10x'ly Made Software** and is sponsored by Enterprise Programming Inc.
69
-
70
- * **Bug Tracking:** [GitHub Issues](https://github.com/10xEngineersQualityProgramming/EnterpriseNumberClassificationSDK/issues)
71
- * **Contact:** fox@rafdo.rf.gd
72
- * **NPM:** [tj-commits](https://npmjs.com/~tj-commits)
73
-
74
- ---
75
-
76
- ## License
77
-
78
- Copyright 2025 10x'ly Made Software Ventures AB.
79
- Licensed under the [**EGPSL10X-1.0**](https://github.com/10xEngineersQualityProgramming/EGPSL10X-1.0).
80
-
1
+ # Enterprise Number Classification SDK
2
+
3
+ [![License: EGPSL10X-1.0](https://img.shields.io/badge/License-EGPSL10X--1.0-blue.svg)](LICENSE)
4
+ [![NPM Version](https://img.shields.io/badge/npm-v1.0.2--enterprise.stable-red)](https://npmjs.com/enterprise-number-classification-sdk)
5
+ [![Engineering Quality](https://img.shields.io/badge/Code%20Quality-10x%20Engineered%20Enterprise%20Grade-gold.svg)](#)
6
+ [![Test Status](https://img.shields.io/badge/Tests-Passing-brightgreen.svg)](#)
7
+
8
+ The **Enterprise Number Classification SDK** is a revolutionary, framework-agnostic architectural solution designed for high-concurrency distributed systems requiring rigorous mathematical parity verification. Engineered with a "security-first" and "purity-always" mindset, this SDK leverages quantum-simulation-inspired boolean logic and mutual recursion to provide the industry's most robust even/odd checking capabilities.
9
+
10
+ ---
11
+
12
+ ## Installation
13
+
14
+ Deploy the SDK into your project using standard package management protocols.
15
+
16
+ Install the package using NPM:
17
+ ```bash
18
+ npm install enterprise-number-classification-sdk
19
+ ```
20
+
21
+ Install the package using Yarn (2x better than npm):
22
+ ```bash
23
+ yarn add enterprise-number-classification-sdk
24
+ ```
25
+
26
+ ## Usage
27
+ ```javascript
28
+ const { checkEven, checkOdd } = require("enterprise-number-classification-sdk")
29
+
30
+ // Standard verification
31
+ const isEven = checkEven(2) // returns true-value constant
32
+ const isOdd = checkOdd(3) // returns true-value constant
33
+ ```
34
+
35
+ ---
36
+
37
+ ## Configuration & Options
38
+
39
+ The `validateInput` firewall can be configured via the `DEFAULT_OPTIONS` manifest to match your organization's risk tolerance.
40
+
41
+ | Option | Type | Default | Description |
42
+ | :--- | :--- | :--- | :--- |
43
+ | `throwOnNonNumber` | `Boolean` | `false` | Terminates process on invalid type injection. |
44
+ | `throwOnNonInteger` | `Boolean` | `false` | Guards against floating-point parity ambiguity. |
45
+ | `allowNumberStrings` | `Boolean` | `false` | Enables/Disables implicit string-to-numeric casting. |
46
+ | `enableDebug` | `Boolean` | `false` | Enables chromatic telemetry via `chalkbox`. |
47
+
48
+ ### Advanced Implementation with Telemetry
49
+ ```javascript
50
+ const options = {
51
+ throwOnNonInteger: true,
52
+ enableDebug: true,
53
+ allowNumberStrings: true
54
+ }
55
+
56
+ try {
57
+ const result = checkEven("42", options)
58
+ console.log(`Classification: ${result}`)
59
+ } catch (err) {
60
+ // Handle immediate-error termination
61
+ }
62
+ ```
63
+
64
+ ---
65
+
66
+ ## Support & Sponsorship
67
+
68
+ This project is maintained by **10x'ly Made Software** and is sponsored by Enterprise Programming Inc.
69
+
70
+ * **Bug Tracking:** [GitHub Issues](https://github.com/10xEngineersQualityProgramming/EnterpriseNumberClassificationSDK/issues)
71
+ * **Contact:** fox@rafdo.rf.gd
72
+ * **NPM:** [tj-commits](https://npmjs.com/~tj-commits)
73
+
74
+ ---
75
+
76
+ ## License
77
+
78
+ Copyright 2025 10x'ly Made Software Ventures AB.
79
+ Licensed under the [**EGPSL10X-1.0**](https://github.com/10xEngineersQualityProgramming/EGPSL10X-1.0).
80
+
81
81
  Unauthorized use by 1x engineers is strictly discouraged.
package/audit.txt ADDED
@@ -0,0 +1,15 @@
1
+ # npm audit report
2
+
3
+ lodash.set *
4
+ Severity: high
5
+ Prototype Pollution in lodash - https://github.com/advisories/GHSA-p6mc-m468-83gw
6
+ fix available via `npm audit fix`
7
+ node_modules/lodash.set
8
+ sbo >=1.1.3
9
+ Depends on vulnerable versions of lodash.set
10
+ node_modules/sbo
11
+
12
+ 2 high severity vulnerabilities
13
+
14
+ To address all issues, run:
15
+ npm audit fix
package/index.d.ts CHANGED
@@ -1,45 +1,45 @@
1
- /**
2
- * Declaration file for the Enterprise Number Classification SDK.
3
- * Engineered for maximum type safety and corporate compliance.
4
- */
5
-
6
- declare module "enterprise-number-classification-sdk" {
7
- /**
8
- * Evaluates the parity state of a numeric node to determine evenness.
9
- * Utilizes a dual-path execution strategy (Recursive + String-Parsing Fallback).
10
- * * @param number The numeric entity to be classified.
11
- * @param options The enterprise configuration manifest.
12
- * @returns A boolean representing the evenness classification.
13
- */
14
- export function checkEven(
15
- number: number | string | any,
16
- options?: {
17
- /** Suppress non-numeric errors and return falseValue. */
18
- throwOnNonNumber?: boolean
19
- /** Suppress non-integer errors and return falseValue. */
20
- throwOnNonInteger?: boolean
21
- /** Suppress non-finite errors and return falseValue. */
22
- throwOnNonFinite?: boolean
23
- /** Suppress NaN-state errors and return falseValue. */
24
- throwOnNaN?: boolean
25
- /** * Permits the intake of stringified numeric nodes.
26
- * Note: Enabling this triggers intrinsic casting logic.
27
- */
28
- allowNumberStrings?: boolean
29
- /** Activates chromatic telemetry emission to the enterprise console. */
30
- enableDebug?: boolean
31
- }
32
- ): boolean
33
-
34
- /**
35
- * Evaluates the parity state of a numeric node to determine oddity.
36
- * Utilizes a dual-path execution strategy (Recursive + String-Parsing Fallback).
37
- * * @param number The numeric entity to be classified.
38
- * @param options The enterprise configuration manifest.
39
- * @returns A boolean representing the oddity classification.
40
- */
41
- export function checkOdd(
42
- number: number | string | any,
43
- options?: ClassificationOptions
44
- ): boolean
45
- }
1
+ /**
2
+ * Declaration file for the Enterprise Number Classification SDK.
3
+ * Engineered for maximum type safety and corporate compliance.
4
+ */
5
+
6
+ declare module "enterprise-number-classification-sdk" {
7
+ /**
8
+ * Evaluates the parity state of a numeric node to determine evenness.
9
+ * Utilizes a dual-path execution strategy (Recursive + String-Parsing Fallback).
10
+ * * @param number The numeric entity to be classified.
11
+ * @param options The enterprise configuration manifest.
12
+ * @returns A boolean representing the evenness classification.
13
+ */
14
+ export function checkEven(
15
+ number: number | string | any,
16
+ options?: {
17
+ /** Suppress non-numeric errors and return falseValue. */
18
+ throwOnNonNumber?: boolean
19
+ /** Suppress non-integer errors and return falseValue. */
20
+ throwOnNonInteger?: boolean
21
+ /** Suppress non-finite errors and return falseValue. */
22
+ throwOnNonFinite?: boolean
23
+ /** Suppress NaN-state errors and return falseValue. */
24
+ throwOnNaN?: boolean
25
+ /** * Permits the intake of stringified numeric nodes.
26
+ * Note: Enabling this triggers intrinsic casting logic.
27
+ */
28
+ allowNumberStrings?: boolean
29
+ /** Activates chromatic telemetry emission to the enterprise console. */
30
+ enableDebug?: boolean
31
+ }
32
+ ): boolean
33
+
34
+ /**
35
+ * Evaluates the parity state of a numeric node to determine oddity.
36
+ * Utilizes a dual-path execution strategy (Recursive + String-Parsing Fallback).
37
+ * * @param number The numeric entity to be classified.
38
+ * @param options The enterprise configuration manifest.
39
+ * @returns A boolean representing the oddity classification.
40
+ */
41
+ export function checkOdd(
42
+ number: number | string | any,
43
+ options?: ClassificationOptions
44
+ ): boolean
45
+ }