Getting Started
Use this template
Use the Holocron CLI to scaffold a new Node.js library. It clones the template, renames all placeholder references, and runs holocron setup in one step:
npx @theholocron/cli new node my-library \ --description "My library description" \ --homepage "https://my-library.example.com" \ --agent claudeThis will:
- Create
theholocron/my-libraryfrom this template on GitHub - Replace all
node-templatereferences withmy-librarythroughout the repo - Run
pnpm install - Run
holocron setupto configure branch protection, labels, workflows, and repo settings
Manual clone
If you prefer to set things up yourself:
git clone https://github.com/theholocron/node-template.git my-librarycd my-librarypnpm installDevelopment
pnpm build # compile the librarypnpm test # run testsScripts
| Script | Description |
|---|---|
pnpm build |
Compile the library |
pnpm test |
Run tests |
pnpm test:coverage |
Run tests with coverage |
pnpm typecheck |
Run TypeScript type-checking |
pnpm lint |
Run ESLint |