objectivist-ner 0.0.3 → 0.0.6

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.
Files changed (2) hide show
  1. package/index.ts +1 -0
  2. package/package.json +4 -1
package/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env bun
1
2
  import { program } from "commander";
2
3
  import path from "path";
3
4
  import os from "os";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "objectivist-ner",
3
- "version": "0.0.3",
3
+ "version": "0.0.6",
4
4
  "description": "Objectivist-inspired Named Entity Recognition with grammar-constrained LLM output",
5
5
  "bin": {
6
6
  "ner": "index.ts"
@@ -17,6 +17,9 @@
17
17
  "peerDependencies": {
18
18
  "typescript": "^5"
19
19
  },
20
+ "scripts": {
21
+ "postinstall": "node-llama-cpp download"
22
+ },
20
23
  "dependencies": {
21
24
  "commander": "^14.0.3",
22
25
  "node-llama-cpp": "^3.17.1"