@jdsalasc/solvejs 1.0.3 → 1.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.
Files changed (2) hide show
  1. package/README.md +3 -10
  2. package/package.json +63 -63
package/README.md CHANGED
@@ -1,18 +1,11 @@
1
1
  # @jdsalasc/solvejs
2
2
 
3
- Problem-first utility toolkit for JavaScript and TypeScript.
3
+ Problem-first, zero-dependency utility toolkit for JavaScript and TypeScript.
4
+
5
+ Install once and get date, string, list, regex, constants, numbers, and validators modules.
4
6
 
5
7
  ## Install
6
8
 
7
9
  ```bash
8
10
  npm i @jdsalasc/solvejs
9
11
  ```
10
-
11
- ## Useful for
12
-
13
- - format dates in javascript
14
- - validate regex patterns in typescript
15
- - array helper functions
16
- - string case conversion
17
- - numeric helpers (clamp, round, average, median)
18
- - form validators (cellphone, name, direction, password, URL)
package/package.json CHANGED
@@ -1,63 +1,63 @@
1
- {
2
- "name": "@jdsalasc/solvejs",
3
- "version": "1.0.3",
4
- "description": "Problem-first utility toolkit for JavaScript and TypeScript with zero external runtime dependencies.",
5
- "license": "MIT",
6
- "type": "module",
7
- "sideEffects": false,
8
- "main": "./dist/cjs/index.cjs",
9
- "module": "./dist/esm/index.js",
10
- "types": "./dist/esm/index.d.ts",
11
- "exports": {
12
- ".": {
13
- "types": "./dist/esm/index.d.ts",
14
- "import": "./dist/esm/index.js",
15
- "require": "./dist/cjs/index.cjs"
16
- }
17
- },
18
- "files": [
19
- "dist",
20
- "README.md"
21
- ],
22
- "scripts": {
23
- "build": "npm run clean && npm run build:esm && npm run build:cjs",
24
- "build:esm": "tsc -p tsconfig.esm.json",
25
- "build:cjs": "tsc -p tsconfig.cjs.json && node ./scripts/rename-cjs.mjs",
26
- "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
27
- "test": "npm run build && node --test test/*.test.mjs",
28
- "lint": "node -e \"console.log('No lint configured for @jdsalasc/solvejs')\""
29
- },
30
- "dependencies": {
31
- "@jdsalasc/solvejs-date": "1.0.2",
32
- "@jdsalasc/solvejs-string": "1.0.2",
33
- "@jdsalasc/solvejs-list": "1.0.2",
34
- "@jdsalasc/solvejs-regex": "1.0.2",
35
- "@jdsalasc/solvejs-constants": "1.0.2",
36
- "@jdsalasc/solvejs-numbers": "1.0.3",
37
- "@jdsalasc/solvejs-validators": "1.0.3"
38
- },
39
- "publishConfig": {
40
- "access": "public"
41
- },
42
- "author": "jdsalasc",
43
- "homepage": "https://github.com/jdsalasca/solvejs#readme",
44
- "repository": {
45
- "type": "git",
46
- "url": "git+https://github.com/jdsalasca/solvejs.git"
47
- },
48
- "bugs": {
49
- "url": "https://github.com/jdsalasca/solvejs/issues"
50
- },
51
- "engines": {
52
- "node": ">=18"
53
- },
54
- "keywords": [
55
- "javascript",
56
- "typescript",
57
- "utils",
58
- "form validation",
59
- "date format",
60
- "number utils",
61
- "solvejs"
62
- ]
63
- }
1
+ {
2
+ "name": "@jdsalasc/solvejs",
3
+ "version": "1.2.0",
4
+ "description": "Zero-dependency utility suite for JavaScript and TypeScript: date, string, list, regex, numbers, constants, and validators.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "sideEffects": false,
8
+ "main": "./dist/cjs/index.cjs",
9
+ "module": "./dist/esm/index.js",
10
+ "types": "./dist/esm/index.d.ts",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/esm/index.d.ts",
14
+ "import": "./dist/esm/index.js",
15
+ "require": "./dist/cjs/index.cjs"
16
+ }
17
+ },
18
+ "files": [
19
+ "dist",
20
+ "README.md"
21
+ ],
22
+ "scripts": {
23
+ "build": "npm run clean && npm run build:esm && npm run build:cjs",
24
+ "build:esm": "tsc -p tsconfig.esm.json",
25
+ "build:cjs": "tsc -p tsconfig.cjs.json && node ./scripts/rename-cjs.mjs",
26
+ "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
27
+ "test": "npm run build && node --test test/*.test.mjs",
28
+ "lint": "node -e \"console.log('No lint configured for @jdsalasc/solvejs')\""
29
+ },
30
+ "dependencies": {
31
+ "@jdsalasc/solvejs-date": "1.2.0",
32
+ "@jdsalasc/solvejs-string": "1.2.0",
33
+ "@jdsalasc/solvejs-list": "1.2.0",
34
+ "@jdsalasc/solvejs-regex": "1.2.0",
35
+ "@jdsalasc/solvejs-constants": "1.2.0",
36
+ "@jdsalasc/solvejs-numbers": "1.2.0",
37
+ "@jdsalasc/solvejs-validators": "1.2.0"
38
+ },
39
+ "publishConfig": {
40
+ "access": "public"
41
+ },
42
+ "author": "jdsalasc",
43
+ "homepage": "https://github.com/jdsalasca/solvejs#readme",
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "git+https://github.com/jdsalasca/solvejs.git"
47
+ },
48
+ "bugs": {
49
+ "url": "https://github.com/jdsalasca/solvejs/issues"
50
+ },
51
+ "engines": {
52
+ "node": ">=18"
53
+ },
54
+ "keywords": [
55
+ "javascript",
56
+ "typescript",
57
+ "utilities",
58
+ "zero dependency",
59
+ "form validation",
60
+ "date tools",
61
+ "solvejs"
62
+ ]
63
+ }