Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.55 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "@piyawasin/byte-flags",
"version": "2.0.0",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
},
"scripts": {
"build:esm": "tsc --project tsconfig.json",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build": "npm run build:esm && npm run build:cjs",
"clean": "rm -rf dist",
"test": "jest"
},
"keywords": [
"flags",
"boolean-flags",
"bit-flags",
"bitmask",
"typescript",
"utility",
"memory-optimization",
"feature-flags",
"permissions",
"bitwise",
"efficient-storage",
"typescript-library",
"byte-flags",
"short-flags",
"long-flags",
"16-bit",
"32-bit",
"compact-storage",
"serialization"
],
"repository": {
"type": "git",
"url": "https://github.com/ppikrorngarn/byte-flags.git"
},
"author": "Piyawasin Pikror-ngarn",
"license": "MIT",
"files": [
"dist",
"README.md"
],
"description": "A lightweight, type-safe utility library for efficiently storing and managing boolean flags in compact numeric values (8, 16, or 32 bits). Perfect for permission systems, feature flags, status tracking, and any scenario requiring compact boolean storage with zero dependencies and full TypeScript support.",
"devDependencies": {
"@types/jest": "^29.5.14",
"jest": "^29.7.0",
"ts-jest": "^29.3.4",
"typescript": "^5.8.3"
}
}