UNPKG

harper-fabric-embeddings

Version:

Minimal llama.cpp embedding wrapper for Harper Fabric. Talks directly to the native addon — no build tools, no CLI, no chat wrappers.

66 lines (65 loc) • 1.71 kB
{ "name": "harper-fabric-embeddings", "version": "0.5.0", "description": "Minimal llama.cpp embedding wrapper for Harper Fabric. Talks directly to the native addon — no build tools, no CLI, no chat wrappers.", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "default": "./dist/index.js", "import": "./dist/index.js", "types": "./dist/index.d.ts" } }, "scripts": { "build": "tsc", "test": "npm run build && node --test test/index.test.js", "test:integration": "npm run build && node scripts/test-integration.js", "lint": "oxlint --deny-warnings .", "lint:fix": "oxlint --deny-warnings --fix .", "format": "prettier --write .", "format:check": "prettier --check .", "prepublishOnly": "npm run build", "postinstall": "node setup.js" }, "keywords": [ "llama", "embeddings", "harper", "fabric", "vector" ], "author": "Nathan Heskew <nathan@heskew.dev> (https://heskew.dev)", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/heskew/harper-fabric-embeddings.git" }, "devDependencies": { "@harperdb/code-guidelines": "^0.0.6", "@types/node": "^22.0.0", "oxlint": "^1.31.0", "prettier": "^3.7.0", "typescript": "^5.7.0" }, "optionalDependencies": { "@node-llama-cpp/linux-arm64": "3.18.1", "@node-llama-cpp/linux-armv7l": "3.18.1", "@node-llama-cpp/linux-x64": "3.18.1", "@node-llama-cpp/mac-arm64-metal": "3.18.1", "@node-llama-cpp/mac-x64": "3.18.1", "@node-llama-cpp/win-arm64": "3.18.1", "@node-llama-cpp/win-x64": "3.18.1" }, "engines": { "node": ">=22" }, "files": [ "config.yaml", "dist", "setup.js", "README.md", "LICENSE" ] }