Parser-Based Interactive Fiction Platform developed in Typescript
// readme
Sharpee
A parser-based Interactive Fiction authoring platform built in TypeScript.
Quick Start
The sharpee CLI ships in @sharpee/devkit — install it globally:
npm install -g @sharpee/devkit
Scaffold a project, then build and play:
sharpee init my-adventure
cd my-adventure
npm install
sharpee build
open dist/web/index.html
| Command | What it does |
|---|---|
sharpee init <name> | Create a new story project |
sharpee init-browser | Add browser client to existing project |
sharpee build | Build .sharpee bundle + browser client |
sharpee build-browser | Build browser client only |
sharpee ifid | Generate or validate an IFID |
What’s Included
@sharpee/sharpee is the umbrella package — it re-exports the story runtime baseline (ADR-178), the imports a story author needs. It deliberately does not re-export every symbol; for advanced use, import a sub-package directly. All 28 packages below are published individually on npm under the @sharpee scope.
| Package | Description |
|---|---|
@sharpee/sharpee | Umbrella package — re-exports the story runtime baseline (ADR-178) |
| … |