How to help improve ZTracer.
Prerequisites: Node.js 18+ and npm.
git clone https://github.com/cheloei/ZTracer.git
cd ZTracer
npm install
ZTracer/
├── src/ # Source code (TypeScript)
│ ├── index.ts # Entry point
│ ├── ZTracer.ts # Main class
│ ├── Type.ts # Type definitions
│ └── modules/ # Utilities
├── dist/ # Compiled output (ESM + CJS)
├── example/ # Usage examples
└── docs/ # Documentation site
See Runtime & Styling for module details.
npm run build — compiles TypeScript to dist/esm and dist/cjs.npm run pack — runs build then creates a .tgz package.# After making changes:
npm run build
# Test locally:
cd example
npm install ../ZTracer-1.0.0.tgz
npm run node
Currently, ZTracer does not have automated tests. Manual testing is done via the
example/ project:
npm run build in the root.example/ and run npm install ../ZTracer-1.0.0.tgz.npm run node.npm run serve.Contributions adding automated tests are welcome!
git checkout -b feature/your-feature.main branch.For detailed guidelines, see the full contributing guide.