@typelex/emitter
v0.4.0
Published
TypeSpec emitter for ATProto Lexicon definitions
Readme
@typelex/emitter
TypeSpec emitter for generating ATProto Lexicon definitions.
See https://typelex.org/
Installation
npm install @typelex/emitterUsage
Add the emitter to your TypeSpec configuration:
# tspconfig.yaml
emit:
- "@typelex/emitter"
options:
"@typelex/emitter":
output-dir: "./lexicons"Then compile your TypeSpec files:
tsp compile .Development
npm install
npm run build
npm link # for local testing