@ppabari/strio 1.0.2

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/package.json ADDED
@@ -0,0 +1,98 @@
1
+ {
2
+ "name": "@ppabari/strio",
3
+ "version": "1.0.2",
4
+ "description": "Cryptographically secure string generation for Node.js and browsers. Tokens, IDs, passphrases, patterns, expiring tokens — bias-free, zero dependencies, fully typed.",
5
+ "keywords": [
6
+ "random",
7
+ "string",
8
+ "secure",
9
+ "crypto",
10
+ "cryptographic",
11
+ "token",
12
+ "password",
13
+ "passphrase",
14
+ "id",
15
+ "generator",
16
+ "typescript",
17
+ "browser",
18
+ "node",
19
+ "bias-free",
20
+ "short-id",
21
+ "expiring-token",
22
+ "otp",
23
+ "jwt-secret",
24
+ "api-key",
25
+ "base58",
26
+ "base62",
27
+ "hex-key",
28
+ "cookie-secret"
29
+ ],
30
+ "homepage": "https://github.com/parthpabari/strio#readme",
31
+ "bugs": {
32
+ "url": "https://github.com/parthpabari/strio/issues"
33
+ },
34
+ "repository": {
35
+ "type": "git",
36
+ "url": "git+https://github.com/parthpabari/strio.git"
37
+ },
38
+ "license": "MIT",
39
+ "author": {
40
+ "name": "Parth Pabari",
41
+ "url": "https://github.com/parthpabari"
42
+ },
43
+ "type": "module",
44
+ "exports": {
45
+ ".": {
46
+ "types": "./dist/index.d.ts",
47
+ "import": "./dist/index.js",
48
+ "require": "./dist/index.cjs"
49
+ },
50
+ "./zod": {
51
+ "types": "./dist/zod.d.ts",
52
+ "import": "./dist/zod.js",
53
+ "require": "./dist/zod.cjs"
54
+ }
55
+ },
56
+ "main": "./dist/index.cjs",
57
+ "module": "./dist/index.js",
58
+ "types": "./dist/index.d.ts",
59
+ "bin": {
60
+ "strio": "dist/bin/strio.js"
61
+ },
62
+ "files": [
63
+ "dist",
64
+ "README.md",
65
+ "LICENSE",
66
+ "CHANGELOG.md"
67
+ ],
68
+ "scripts": {
69
+ "build": "tsup",
70
+ "dev": "tsup --watch",
71
+ "test": "vitest run",
72
+ "test:watch": "vitest",
73
+ "test:coverage": "vitest run --coverage",
74
+ "typecheck": "tsc --noEmit",
75
+ "lint": "tsc --noEmit",
76
+ "prepublishOnly": "npm run typecheck && npm run build && npm run test"
77
+ },
78
+ "peerDependencies": {
79
+ "zod": ">=3.0.0"
80
+ },
81
+ "peerDependenciesMeta": {
82
+ "zod": {
83
+ "optional": true
84
+ }
85
+ },
86
+ "devDependencies": {
87
+ "@types/node": "^20.0.0",
88
+ "@vitest/coverage-v8": "^1.0.0",
89
+ "tsup": "^8.0.0",
90
+ "typescript": "^5.0.0",
91
+ "vitest": "^1.0.0",
92
+ "zod": "^3.22.0"
93
+ },
94
+ "engines": {
95
+ "node": ">=18.0.0"
96
+ },
97
+ "sideEffects": false
98
+ }