@klyper/utils 0.2.0

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/dist/index.cjs ADDED
@@ -0,0 +1,16 @@
1
+ /*!
2
+ * @klyper/utils v0.2.0
3
+ * Utility helpers for the Klyper ecosystem.
4
+ * (c) 2026 Andrew Caires
5
+ * @license: MIT
6
+ */
7
+ 'use strict';
8
+
9
+ function isNil(value) {
10
+ return value === null || value === undefined;
11
+ }
12
+
13
+ function noop() {}
14
+
15
+ exports.isNil = isNil;
16
+ exports.noop = noop;
@@ -0,0 +1,8 @@
1
+ /*!
2
+ * @klyper/utils v0.2.0
3
+ * Utility helpers for the Klyper ecosystem.
4
+ * (c) 2026 Andrew Caires
5
+ * @license: MIT
6
+ */
7
+ export declare function isNil(value: unknown): value is null | undefined;
8
+ export declare function noop(): void;
package/dist/index.js ADDED
@@ -0,0 +1,13 @@
1
+ /*!
2
+ * @klyper/utils v0.2.0
3
+ * Utility helpers for the Klyper ecosystem.
4
+ * (c) 2026 Andrew Caires
5
+ * @license: MIT
6
+ */
7
+ function isNil(value) {
8
+ return value === null || value === undefined;
9
+ }
10
+
11
+ function noop() {}
12
+
13
+ export { isNil, noop };
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@klyper/utils",
3
+ "version": "0.2.0",
4
+ "description": "Utility helpers for the Klyper ecosystem.",
5
+ "author": "Andrew Caires",
6
+ "license": "MIT",
7
+ "type": "module",
8
+ "main": "./dist/index.cjs",
9
+ "module": "./dist/index.js",
10
+ "types": "./dist/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/index.d.ts",
14
+ "import": "./dist/index.js",
15
+ "require": "./dist/index.cjs"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist"
20
+ ],
21
+ "scripts": {
22
+ "clean": "rm -rf dist",
23
+ "typecheck": "tsc -p tsconfig.json --noEmit"
24
+ }
25
+ }