{"_id":"@archivist-gg/core","name":"@archivist-gg/core","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@archivist-gg/core","version":"0.1.0","license":"MIT","type":"module","publishConfig":{"access":"public"},"types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"dependencies":{"js-yaml":"^4.1.0"},"_id":"@archivist-gg/core@0.1.0","gitHead":"7d54434a3b17602a55ce691f567b88bf232b36f1","description":"The framework layer for Archivist — a small, game-system- and platform-agnostic TypeScript kernel that the game packs and renderers build on. It contains no game rules and no UI/platform code.","_nodeVersion":"22.19.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-ImXBx7L1ljeveTy8u6To9tXqyhXYCUIAB6F9h+uWo7AiXR9u1vtp8cCF4zI7wNFRBOeRxAMhpIuWsU/ircq5dQ==","shasum":"05580ba387f3dd878f46593aa0ba765fd47069e0","tarball":"https://registry.npmjs.org/@archivist-gg/core/-/core-0.1.0.tgz","fileCount":10,"unpackedSize":13749,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDQjSjzW/xQ/Vi7fCWOGaiKHaNkuAo9zvrCZont+4DaWQIgD/tpI2jpFV55xgeJ4DWAwmXrzZxn4cuhrJ8edF/WEvs="}]},"_npmUser":{"name":"ssshinoobi","email":"edgareverfall@proton.me"},"directories":{},"maintainers":[{"name":"ssshinoobi","email":"edgareverfall@proton.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.1.0_1783700696392_0.20499549518918925"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-10T16:24:56.205Z","0.1.0":"2026-07-10T16:24:56.554Z","modified":"2026-07-10T16:24:56.781Z"},"maintainers":[{"name":"ssshinoobi","email":"edgareverfall@proton.me"}],"description":"The framework layer for Archivist — a small, game-system- and platform-agnostic TypeScript kernel that the game packs and renderers build on. It contains no game rules and no UI/platform code.","license":"MIT","readme":"# @archivist-gg/core\n\nThe framework layer for Archivist — a small, game-system- and platform-agnostic\nTypeScript kernel that the game packs and renderers build on. It contains no game\nrules and no UI/platform code.\n\n## What's inside\n\n- **Container format** (`parseContainer`) — parse an Archivist `.md` file (YAML\n  frontmatter + body) into a typed document.\n- **Contracts** — the shared interfaces that a system pack and a renderer implement:\n  entity types, codecs, and the registry surface.\n- **Kernel** (`createArchivist`) — assemble a set of pack contracts into a working\n  instance.\n- **Entity registry** (`EntityRegistry`) — an in-memory store with cross-reference\n  resolution for parsed entities.\n- **YAML utilities** (`parseYaml`, `toStringSafe`).\n\nEverything is re-exported from the package root.\n\n## Usage\n\n`@archivist-gg/core` is distributed as TypeScript source (no build step). Consume it as\na path/sibling dependency; its only runtime dependency is `js-yaml`.\n\n```jsonc\n// package.json\n\"dependencies\": { \"@archivist-gg/core\": \"file:../archivist-core\" }\n```\n\n```ts\nimport { createArchivist, EntityRegistry, parseContainer } from \"@archivist-gg/core\";\n```\n\n## Scripts\n\n- `npm run typecheck` — `tsc -b --force`\n- `npm test` — run the test suite with vitest\n\n## License\n\nMIT — see [LICENSE](./LICENSE).\n","readmeFilename":"README.md","_rev":"1-af32cc969b81293abc95e57f3da08960"}