@yoch/frozenminisearch 1.0.0 → 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/CHANGELOG.md +24 -0
- package/README.md +41 -11
- package/dist/cjs/index.cjs +913 -539
- package/dist/cjs/index.require.cjs +1 -0
- package/dist/es/index.d.ts +24 -7
- package/dist/es/index.js +913 -540
- package/package.json +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yoch/frozenminisearch",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Read-only Node.js full-text search — compact frozen indexes and binary snapshots",
|
|
5
5
|
"main": "dist/cjs/index.cjs",
|
|
6
6
|
"module": "dist/es/index.js",
|
|
@@ -100,6 +100,9 @@
|
|
|
100
100
|
"bench:history": "node --expose-gc benchmarks/framework/cli.mjs history",
|
|
101
101
|
"bench:micro": "node benchmarks/micro/run.mjs",
|
|
102
102
|
"bench:readme": "node benchmarks/scripts/generate-readme-comparison.mjs",
|
|
103
|
+
"bench:build-peak": "npm run build && node --expose-gc benchmarks/scripts/build-peak-heap.mjs",
|
|
104
|
+
"bench:medicaments-build-peak": "npm run build && NODE_OPTIONS='--expose-gc' npx --yes tsx benchmarks/scripts/medicaments-build-peak-heap.mjs",
|
|
105
|
+
"bench:build-heap-profile": "npm run build && NODE_OPTIONS='--expose-gc' npx --yes tsx benchmarks/scripts/build-heap-profile.mjs",
|
|
103
106
|
"bench:reference:update": "npm run build && RUNS=3 node --expose-gc benchmarks/framework/cli.mjs record --profile=vs-reference && node benchmarks/scripts/promote-latest-to-reference.mjs && npm run bench:readme",
|
|
104
107
|
"benchmark:compare": "npm run build && node --expose-gc benchmarks/compare.js",
|
|
105
108
|
"benchmark:calibrate-batches": "npm run build && node --expose-gc benchmarks/scripts/calibrate-search-batches.mjs",
|
|
@@ -132,7 +135,7 @@
|
|
|
132
135
|
"clean-build": "rm -rf dist",
|
|
133
136
|
"build-minified": "MINIFY=true npm run build",
|
|
134
137
|
"sync-docs-media": "node scripts/sync-docs-media.cjs",
|
|
135
|
-
"build-docs": "npm run sync-docs-media &&
|
|
138
|
+
"build-docs": "typedoc --options typedoc.json && npm run sync-docs-media && npm run build-demo",
|
|
136
139
|
"build-demo": "mkdir -p ./docs/demo && cp -r ./examples/plain_js/. ./docs/demo",
|
|
137
140
|
"lint": "eslint 'src/**/*.{js,ts}'",
|
|
138
141
|
"lintfix": "eslint --fix 'src/**/*.{js,ts}'",
|