@zollikon/encryption 0.0.0-stage → 1.0.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/LICENSE +21 -0
- package/README.md +144 -2
- package/dist/encryptor.d.ts +42 -0
- package/dist/encryptor.js +119 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/package.json +60 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Osman Calisir
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,145 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @zollikon/encryption
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Small, zero-dependency **AES-256-GCM** encryption helpers for Node.js. It encrypts strings and binary data (files, blobs) and hashes high-entropy tokens with SHA-256. It uses only `node:crypto`.
|
|
4
|
+
|
|
5
|
+
- **Authenticated encryption.** AES-256-GCM detects tampering and wrong keys.
|
|
6
|
+
- **Fresh random IV per call.** Encrypting the same plaintext twice gives different output.
|
|
7
|
+
- **Environment-agnostic.** The package never reads `process.env`. You pass the key in, from wherever you keep it.
|
|
8
|
+
- **Lazy key providers.** Pass a function and it is called on every operation. This suits env vars, secret managers and key rotation.
|
|
9
|
+
- **Typed errors.** Failures throw `EncryptionError` with a stable `code`.
|
|
10
|
+
- **No runtime dependencies.** The only requirement is Node.js 18 or later.
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install @zollikon/encryption
|
|
16
|
+
# or
|
|
17
|
+
yarn add @zollikon/encryption
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
The package is ESM-only (`"type": "module"`). It ships its own TypeScript types.
|
|
21
|
+
|
|
22
|
+
## Quick start
|
|
23
|
+
|
|
24
|
+
```ts
|
|
25
|
+
import { createEncryptor, generateKey } from '@zollikon/encryption';
|
|
26
|
+
|
|
27
|
+
// 1. Generate a key once and store it in your secret store / .env
|
|
28
|
+
console.log(generateKey()); // e.g. 3f9a... (64 hex chars)
|
|
29
|
+
|
|
30
|
+
// 2. Create an encryptor
|
|
31
|
+
const enc = createEncryptor(process.env.ENCRYPTION_KEY!);
|
|
32
|
+
|
|
33
|
+
// 3. Strings
|
|
34
|
+
const token = enc.encrypt('my secret');
|
|
35
|
+
enc.decrypt(token); // 'my secret'
|
|
36
|
+
|
|
37
|
+
// 4. Binary data (files, blobs)
|
|
38
|
+
const blob = enc.encryptBuffer(fileBytes);
|
|
39
|
+
enc.decryptBuffer(blob); // Buffer
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Lazy key (recommended for apps)
|
|
43
|
+
|
|
44
|
+
Pass a function when the key may not be available at import time. This is common in tests and in apps that validate config at startup.
|
|
45
|
+
|
|
46
|
+
```ts
|
|
47
|
+
const enc = createEncryptor(() => process.env.ENCRYPTION_KEY!);
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
A key provider is resolved on **every** call and is not validated when the encryptor is created. A static key is validated immediately, so a bad key fails at startup.
|
|
51
|
+
|
|
52
|
+
## API
|
|
53
|
+
|
|
54
|
+
### `createEncryptor(key: KeyInput): Encryptor`
|
|
55
|
+
|
|
56
|
+
`KeyInput` is one of:
|
|
57
|
+
|
|
58
|
+
| Form | Meaning |
|
|
59
|
+
| -------------------- | ---------------------------------------- |
|
|
60
|
+
| `string` | 64-character hex string (32 bytes) |
|
|
61
|
+
| `Uint8Array`/`Buffer`| Exactly 32 raw bytes |
|
|
62
|
+
| `() => string \| Uint8Array` | Provider returning either of the above |
|
|
63
|
+
|
|
64
|
+
Throws `EncryptionError('INVALID_KEY')` if the key is malformed.
|
|
65
|
+
|
|
66
|
+
The returned `Encryptor` has four methods:
|
|
67
|
+
|
|
68
|
+
| Method | Description |
|
|
69
|
+
| ------------------------------------------------ | ------------------------------------------------------ |
|
|
70
|
+
| `encrypt(plaintext: string): string` | Returns `base64(iv):base64(tag):base64(data)` |
|
|
71
|
+
| `decrypt(ciphertext: string): string` | Reverses `encrypt` |
|
|
72
|
+
| `encryptBuffer(data: Uint8Array): Uint8Array` | Returns raw bytes: `iv (12) \|\| tag (16) \|\| data` |
|
|
73
|
+
| `decryptBuffer(data: Uint8Array): Buffer` | Reverses `encryptBuffer` |
|
|
74
|
+
|
|
75
|
+
### `generateKey(): string`
|
|
76
|
+
|
|
77
|
+
Returns a new cryptographically random 64-character hex key.
|
|
78
|
+
|
|
79
|
+
### `hashToken(token: string): string`
|
|
80
|
+
|
|
81
|
+
Returns the SHA-256 hex digest. Use it to store or look up **high-entropy** secrets such as refresh tokens and API keys without keeping the raw value. **Do not use it for passwords.** Use argon2, bcrypt or scrypt for those.
|
|
82
|
+
|
|
83
|
+
### Constants
|
|
84
|
+
|
|
85
|
+
`ALGORITHM` (`'aes-256-gcm'`), `KEY_BYTES` (32), `IV_BYTES` (12), `TAG_BYTES` (16).
|
|
86
|
+
|
|
87
|
+
## Error handling
|
|
88
|
+
|
|
89
|
+
All failures throw `EncryptionError` (extends `Error`) with a `code`:
|
|
90
|
+
|
|
91
|
+
| Code | When |
|
|
92
|
+
| ---------------- | --------------------------------------------------------------- |
|
|
93
|
+
| `INVALID_KEY` | The key is not 64 hex chars or 32 bytes |
|
|
94
|
+
| `INVALID_FORMAT` | The ciphertext is malformed or too short |
|
|
95
|
+
| `DECRYPT_FAILED` | The key is wrong or the data was tampered with (GCM auth failed) |
|
|
96
|
+
|
|
97
|
+
```ts
|
|
98
|
+
import { EncryptionError } from '@zollikon/encryption';
|
|
99
|
+
|
|
100
|
+
try {
|
|
101
|
+
enc.decrypt(value);
|
|
102
|
+
} catch (e) {
|
|
103
|
+
if (e instanceof EncryptionError && e.code === 'DECRYPT_FAILED') {
|
|
104
|
+
// wrong key or corrupted data
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Wire formats
|
|
110
|
+
|
|
111
|
+
These are stable, so data stays decryptable across versions and other implementations.
|
|
112
|
+
|
|
113
|
+
- **String**: `base64(iv) + ':' + base64(authTag) + ':' + base64(ciphertext)`
|
|
114
|
+
- **Buffer**: `iv (12 bytes) || authTag (16 bytes) || ciphertext`
|
|
115
|
+
|
|
116
|
+
Both use AES-256-GCM with a 96-bit random IV and a 128-bit tag, with no additional authenticated data.
|
|
117
|
+
|
|
118
|
+
## Key rotation
|
|
119
|
+
|
|
120
|
+
The format carries no key id. To rotate keys, use a provider that selects a key, or decrypt with the old encryptor and re-encrypt with the new one:
|
|
121
|
+
|
|
122
|
+
```ts
|
|
123
|
+
const oldEnc = createEncryptor(OLD_KEY);
|
|
124
|
+
const newEnc = createEncryptor(NEW_KEY);
|
|
125
|
+
const migrated = newEnc.encrypt(oldEnc.decrypt(stored));
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
## Security notes
|
|
129
|
+
|
|
130
|
+
- Keep the key out of source control. Use a secret manager or environment injection.
|
|
131
|
+
- Losing the key means losing the data. Back it up securely.
|
|
132
|
+
- Do not encrypt more than about 2^32 messages under one key. With random 96-bit IVs, the nonce collision risk becomes significant beyond that.
|
|
133
|
+
- Encryption protects confidentiality and integrity of the value. It does not hide the value's length.
|
|
134
|
+
- Use `hashToken` only for random, high-entropy inputs.
|
|
135
|
+
|
|
136
|
+
## Development
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
npm run build # tsc → dist/
|
|
140
|
+
npm test # vitest
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## License
|
|
144
|
+
|
|
145
|
+
MIT
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export declare const ALGORITHM = "aes-256-gcm";
|
|
2
|
+
/** Key length in bytes (AES-256). */
|
|
3
|
+
export declare const KEY_BYTES = 32;
|
|
4
|
+
/** GCM nonce length in bytes (96 bits, the NIST-recommended size). */
|
|
5
|
+
export declare const IV_BYTES = 12;
|
|
6
|
+
/** GCM authentication tag length in bytes. */
|
|
7
|
+
export declare const TAG_BYTES = 16;
|
|
8
|
+
/** A key as a 64-character hex string, or 32 raw bytes. */
|
|
9
|
+
export type EncryptionKey = string | Uint8Array;
|
|
10
|
+
/**
|
|
11
|
+
* Key source. Either the key itself, or a function that returns it. A function is
|
|
12
|
+
* resolved on every operation, which allows lazy loading (e.g. from `process.env`),
|
|
13
|
+
* rotation and secret-manager caching without recreating the encryptor.
|
|
14
|
+
*/
|
|
15
|
+
export type KeyInput = EncryptionKey | (() => EncryptionKey);
|
|
16
|
+
export type EncryptionErrorCode = 'INVALID_KEY' | 'INVALID_FORMAT' | 'DECRYPT_FAILED';
|
|
17
|
+
export declare class EncryptionError extends Error {
|
|
18
|
+
readonly code: EncryptionErrorCode;
|
|
19
|
+
constructor(code: EncryptionErrorCode, message: string, options?: {
|
|
20
|
+
cause?: unknown;
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
export interface Encryptor {
|
|
24
|
+
/** Encrypts a UTF-8 string. Returns `base64(iv):base64(tag):base64(data)`. */
|
|
25
|
+
encrypt(plaintext: string): string;
|
|
26
|
+
/** Decrypts a value produced by {@link Encryptor.encrypt}. */
|
|
27
|
+
decrypt(ciphertext: string): string;
|
|
28
|
+
/** Encrypts binary data. Returns `iv(12) || tag(16) || data` as raw bytes. */
|
|
29
|
+
encryptBuffer(plaintext: Uint8Array): Uint8Array<ArrayBuffer>;
|
|
30
|
+
/** Decrypts a value produced by {@link Encryptor.encryptBuffer}. */
|
|
31
|
+
decryptBuffer(ciphertext: Uint8Array): Buffer;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Creates an AES-256-GCM encryptor bound to a key (or key provider).
|
|
35
|
+
* The package never reads environment variables; the caller decides where the key comes from.
|
|
36
|
+
*/
|
|
37
|
+
export declare function createEncryptor(key: KeyInput): Encryptor;
|
|
38
|
+
/** Generates a new random key as a 64-character hex string. */
|
|
39
|
+
export declare function generateKey(): string;
|
|
40
|
+
/** SHA-256 hex digest. Intended for high-entropy tokens (refresh tokens, API keys), not passwords. */
|
|
41
|
+
export declare function hashToken(token: string): string;
|
|
42
|
+
//# sourceMappingURL=encryptor.d.ts.map
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import crypto from 'node:crypto';
|
|
2
|
+
export const ALGORITHM = 'aes-256-gcm';
|
|
3
|
+
/** Key length in bytes (AES-256). */
|
|
4
|
+
export const KEY_BYTES = 32;
|
|
5
|
+
/** GCM nonce length in bytes (96 bits, the NIST-recommended size). */
|
|
6
|
+
export const IV_BYTES = 12;
|
|
7
|
+
/** GCM authentication tag length in bytes. */
|
|
8
|
+
export const TAG_BYTES = 16;
|
|
9
|
+
export class EncryptionError extends Error {
|
|
10
|
+
constructor(code, message, options) {
|
|
11
|
+
super(message, options);
|
|
12
|
+
this.name = 'EncryptionError';
|
|
13
|
+
this.code = code;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function resolveKey(input) {
|
|
17
|
+
const raw = typeof input === 'function' ? input() : input;
|
|
18
|
+
if (typeof raw === 'string') {
|
|
19
|
+
if (!/^[a-fA-F0-9]{64}$/.test(raw)) {
|
|
20
|
+
throw new EncryptionError('INVALID_KEY', 'Encryption key must be a 64-char hex string (32 bytes)');
|
|
21
|
+
}
|
|
22
|
+
return Buffer.from(raw, 'hex');
|
|
23
|
+
}
|
|
24
|
+
if (raw instanceof Uint8Array && raw.length === KEY_BYTES) {
|
|
25
|
+
return Buffer.from(raw);
|
|
26
|
+
}
|
|
27
|
+
throw new EncryptionError('INVALID_KEY', 'Encryption key must be a 64-char hex string (32 bytes)');
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Creates an AES-256-GCM encryptor bound to a key (or key provider).
|
|
31
|
+
* The package never reads environment variables; the caller decides where the key comes from.
|
|
32
|
+
*/
|
|
33
|
+
export function createEncryptor(key) {
|
|
34
|
+
if (key === undefined || key === null) {
|
|
35
|
+
throw new EncryptionError('INVALID_KEY', 'A key or key provider is required');
|
|
36
|
+
}
|
|
37
|
+
// Validate eagerly when the key is static so misconfiguration fails at startup.
|
|
38
|
+
if (typeof key !== 'function')
|
|
39
|
+
resolveKey(key);
|
|
40
|
+
function decipherWith(iv, tag) {
|
|
41
|
+
const decipher = crypto.createDecipheriv(ALGORITHM, resolveKey(key), iv, {
|
|
42
|
+
authTagLength: TAG_BYTES,
|
|
43
|
+
});
|
|
44
|
+
decipher.setAuthTag(tag);
|
|
45
|
+
return decipher;
|
|
46
|
+
}
|
|
47
|
+
function wrapDecrypt(fn) {
|
|
48
|
+
try {
|
|
49
|
+
return fn();
|
|
50
|
+
}
|
|
51
|
+
catch (err) {
|
|
52
|
+
if (err instanceof EncryptionError)
|
|
53
|
+
throw err;
|
|
54
|
+
throw new EncryptionError('DECRYPT_FAILED', 'Decryption failed: wrong key or tampered data', {
|
|
55
|
+
cause: err,
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
encrypt(plaintext) {
|
|
61
|
+
const iv = crypto.randomBytes(IV_BYTES);
|
|
62
|
+
const cipher = crypto.createCipheriv(ALGORITHM, resolveKey(key), iv, {
|
|
63
|
+
authTagLength: TAG_BYTES,
|
|
64
|
+
});
|
|
65
|
+
const encrypted = Buffer.concat([cipher.update(plaintext, 'utf8'), cipher.final()]);
|
|
66
|
+
return [
|
|
67
|
+
iv.toString('base64'),
|
|
68
|
+
cipher.getAuthTag().toString('base64'),
|
|
69
|
+
encrypted.toString('base64'),
|
|
70
|
+
].join(':');
|
|
71
|
+
},
|
|
72
|
+
decrypt(ciphertext) {
|
|
73
|
+
const parts = ciphertext.split(':');
|
|
74
|
+
if (parts.length !== 3)
|
|
75
|
+
throw new EncryptionError('INVALID_FORMAT', 'Invalid ciphertext format');
|
|
76
|
+
const [ivB64, tagB64, dataB64] = parts;
|
|
77
|
+
const iv = Buffer.from(ivB64, 'base64');
|
|
78
|
+
const tag = Buffer.from(tagB64, 'base64');
|
|
79
|
+
if (iv.length !== IV_BYTES || tag.length !== TAG_BYTES) {
|
|
80
|
+
throw new EncryptionError('INVALID_FORMAT', 'Invalid ciphertext format');
|
|
81
|
+
}
|
|
82
|
+
const data = Buffer.from(dataB64, 'base64');
|
|
83
|
+
return wrapDecrypt(() => {
|
|
84
|
+
const decipher = decipherWith(iv, tag);
|
|
85
|
+
return decipher.update(data).toString('utf8') + decipher.final('utf8');
|
|
86
|
+
});
|
|
87
|
+
},
|
|
88
|
+
encryptBuffer(plaintext) {
|
|
89
|
+
const iv = crypto.randomBytes(IV_BYTES);
|
|
90
|
+
const cipher = crypto.createCipheriv(ALGORITHM, resolveKey(key), iv, {
|
|
91
|
+
authTagLength: TAG_BYTES,
|
|
92
|
+
});
|
|
93
|
+
const encrypted = Buffer.concat([cipher.update(Buffer.from(plaintext)), cipher.final()]);
|
|
94
|
+
return Uint8Array.from(Buffer.concat([iv, cipher.getAuthTag(), encrypted]));
|
|
95
|
+
},
|
|
96
|
+
decryptBuffer(ciphertext) {
|
|
97
|
+
const encrypted = Buffer.from(ciphertext);
|
|
98
|
+
if (encrypted.length < IV_BYTES + TAG_BYTES) {
|
|
99
|
+
throw new EncryptionError('INVALID_FORMAT', 'Invalid encrypted content');
|
|
100
|
+
}
|
|
101
|
+
const iv = encrypted.subarray(0, IV_BYTES);
|
|
102
|
+
const tag = encrypted.subarray(IV_BYTES, IV_BYTES + TAG_BYTES);
|
|
103
|
+
const data = encrypted.subarray(IV_BYTES + TAG_BYTES);
|
|
104
|
+
return wrapDecrypt(() => {
|
|
105
|
+
const decipher = decipherWith(iv, tag);
|
|
106
|
+
return Buffer.concat([decipher.update(data), decipher.final()]);
|
|
107
|
+
});
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
/** Generates a new random key as a 64-character hex string. */
|
|
112
|
+
export function generateKey() {
|
|
113
|
+
return crypto.randomBytes(KEY_BYTES).toString('hex');
|
|
114
|
+
}
|
|
115
|
+
/** SHA-256 hex digest. Intended for high-entropy tokens (refresh tokens, API keys), not passwords. */
|
|
116
|
+
export function hashToken(token) {
|
|
117
|
+
return crypto.createHash('sha256').update(token).digest('hex');
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=encryptor.js.map
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,62 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zollikon/encryption",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Zero-dependency AES-256-GCM encryption helpers for strings and binary data, plus SHA-256 token hashing, for Node.js",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/zollikon/encryption.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/zollikon/encryption#readme",
|
|
10
|
+
"author": {
|
|
11
|
+
"name": "Osman Calisir",
|
|
12
|
+
"url": "https://osmancalisir.com"
|
|
13
|
+
},
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/zollikon/encryption/issues"
|
|
16
|
+
},
|
|
17
|
+
"main": "dist/index.js",
|
|
18
|
+
"types": "dist/index.d.ts",
|
|
19
|
+
"type": "module",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"import": "./dist/index.js",
|
|
23
|
+
"types": "./dist/index.d.ts"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"dist",
|
|
29
|
+
"!dist/**/*.map",
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"clean": "rm -rf dist *.tsbuildinfo",
|
|
38
|
+
"build": "npm run clean && tsc -p tsconfig.json",
|
|
39
|
+
"prepublishOnly": "npm test && npm run build",
|
|
40
|
+
"test": "vitest run --config vitest.config.ts",
|
|
41
|
+
"preview": "npm pack --dry-run"
|
|
42
|
+
},
|
|
43
|
+
"keywords": [
|
|
44
|
+
"encryption",
|
|
45
|
+
"aes-256-gcm",
|
|
46
|
+
"aes",
|
|
47
|
+
"gcm",
|
|
48
|
+
"crypto",
|
|
49
|
+
"sha256",
|
|
50
|
+
"token-hash"
|
|
51
|
+
],
|
|
52
|
+
"license": "MIT",
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@types/node": "^24.10.0",
|
|
55
|
+
"typescript": "^5.9.3",
|
|
56
|
+
"vitest": "^4.1.12"
|
|
57
|
+
},
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=18"
|
|
60
|
+
},
|
|
61
|
+
"sideEffects": false
|
|
62
|
+
}
|