mini-semantic-search 0.0.0-stage → 0.2.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/package.json CHANGED
@@ -1,6 +1,63 @@
1
1
  {
2
2
  "name": "mini-semantic-search",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "Semantic search with a MiniSearch-style API, using Model2Vec static embeddings. Runs in browsers and Node; no dependencies; 2.2 MB with the model.",
5
+ "keywords": [
6
+ "semantic-search",
7
+ "search",
8
+ "minisearch",
9
+ "model2vec",
10
+ "embeddings",
11
+ "static-embeddings",
12
+ "sentence-embeddings",
13
+ "browser",
14
+ "offline"
15
+ ],
16
+ "license": "MIT",
17
+ "author": "ShakirasHips",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/ShakirasHips/model2vec-js.git"
21
+ },
22
+ "homepage": "https://github.com/ShakirasHips/model2vec-js#readme",
23
+ "bugs": "https://github.com/ShakirasHips/model2vec-js/issues",
24
+ "type": "module",
25
+ "exports": {
26
+ ".": {
27
+ "node": {
28
+ "types": "./dist/node.d.ts",
29
+ "default": "./dist/node.js"
30
+ },
31
+ "default": {
32
+ "types": "./dist/index.d.ts",
33
+ "default": "./dist/index.js"
34
+ }
35
+ },
36
+ "./models/*": "./models/*"
37
+ },
38
+ "types": "./dist/index.d.ts",
39
+ "bin": {
40
+ "mini-semantic-search": "dist/cli.js"
41
+ },
42
+ "files": [
43
+ "dist",
44
+ "models",
45
+ "!dist/**/*.test.*"
46
+ ],
47
+ "sideEffects": [
48
+ "./dist/node.js",
49
+ "./dist/cli.js"
50
+ ],
51
+ "engines": {
52
+ "node": ">=18"
53
+ },
54
+ "scripts": {
55
+ "build": "tsc",
56
+ "test": "tsc && node --test \"test/*.test.mjs\"",
57
+ "prepublishOnly": "npm test"
58
+ },
59
+ "devDependencies": {
60
+ "@types/node": "^20.19.0",
61
+ "typescript": "^5.9.0"
62
+ }
63
+ }