{ "name": "@cp500/infon-heads", "version": "0.1.0-alpha.0", "description": "Multilingual single-sentence linguistic classifiers (polarity, tense, conditional, relation type, spatial relation, comparative direction) in the browser or Node, via ONNX. Same family as @cp500/infon-coref.", "type": "module", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", "exports": { ".": { "types": "./dist/types/index.d.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" } }, "files": [ "dist/", "README.md", "LICENSE" ], "scripts": { "build": "npm run build:esm && npm run build:cjs && npm run build:types", "build:esm": "tsc -p tsconfig.esm.json", "build:cjs": "tsc -p tsconfig.cjs.json", "build:types": "tsc -p tsconfig.types.json", "clean": "rm -rf dist", "test": "node --test --import tsx test/**/*.test.ts" }, "keywords": [ "nlp", "multilingual", "polarity", "tense", "conditional", "relation-type", "onnx", "onnxruntime-web", "browser" ], "license": "Apache-2.0", "author": "cp500", "repository": { "type": "git", "url": "https://github.com/cp500/infon-heads-js" }, "homepage": "https://huggingface.co/cp500/infon-heads", "peerDependencies": { "onnxruntime-web": "^1.20.0", "onnxruntime-node": "^1.20.0" }, "peerDependenciesMeta": { "onnxruntime-web": { "optional": true }, "onnxruntime-node": { "optional": true } }, "devDependencies": { "@types/node": "^22.0.0", "onnxruntime-node": "^1.20.0", "onnxruntime-web": "^1.20.0", "tsx": "^4.19.0", "typescript": "^5.6.0" }, "engines": { "node": ">=20" }, "publishConfig": { "access": "public" } }