Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.45 KB
/
Copy pathpackage.json
File metadata and controls
54 lines (54 loc) · 1.45 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
{
"name": "go-printf",
"version": "0.1.0",
"description": "Go's fmt.Sprintf for JavaScript and TypeScript: every verb and flag, exact float formatting, Go's %!verb(type=value) error forms, and explicit int/float/uint wrappers.",
"keywords": [
"go",
"golang",
"fmt",
"sprintf",
"printf",
"format",
"strconv",
"quote",
"template"
],
"license": "MIT",
"author": "kofiadeyemiq",
"repository": {
"type": "git",
"url": "git+https://github.com/quietpelican42/go-printf.git"
},
"type": "module",
"engines": {
"node": ">=20.6.0"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"LICENSE-go"
],
"scripts": {
"test": "node --test \"test/*.test.ts\"",
"typecheck": "tsc --noEmit",
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"test:dist": "node --test test/smoke.mjs",
"fuzz": "node bench/fuzz.ts",
"prepublishOnly": "npm run typecheck && npm test && npm run build && npm run test:dist",
"bench:incumbents": "npm run build && node bench/incumbents.mjs",
"bench:corpus": "node bench/corpus.ts",
"fixtures": "node scripts/make-golden.ts && node scripts/make-fixture.ts",
"test:live": "GO_PRINTF_LIVE=1 node --test test/oracle.test.ts"
},
"devDependencies": {
"@types/node": "^24.0.0",
"typescript": "^5.7.0"
}
}