@kamen/create-webapp 1.0.28 → 1.0.29

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.
Files changed (2) hide show
  1. package/index.js +27 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,3 +1,9 @@
1
+ import packages from './package.json' with {type: 'json'};
2
+
3
+ console.dir(packages);
4
+
5
+
6
+
1
7
  const primitiveTypeRe = /^string|number|bigint|boolean|symbol$/;
2
8
  const objectTypeRe = /^object|function$/;
3
9
 
@@ -296,4 +302,24 @@ export class URLBuilder {
296
302
  toString() {
297
303
  return this.url.toString();
298
304
  }
299
- }
305
+ }
306
+
307
+ export const introspection = {
308
+ isPrimitive,
309
+ isObject
310
+ };
311
+
312
+ export const numbering = {
313
+ modulo,
314
+ range,
315
+ clamp
316
+ };
317
+
318
+ export const randomness = {
319
+ randomFromRange,
320
+ createRandomFromRange,
321
+ randomFromList,
322
+ createRandomFromList,
323
+ randomColorFromSaturationLightnessAlpha,
324
+ createRandomColorFromSaturationLightnessAlpha
325
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kamen/create-webapp",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "npm init @kamen/webapp",
5
5
  "homepage": "https://www.npmjs.com/package/@kamen/create-webapp",
6
6
  "license": "GPL-2.0-only",