Something went wrong. Try again.
An experimental TypeSpec syntax for Lexicon
Something went wrong. Try again.
README.md
@typelex/emitter #
TypeSpec emitter for generating ATProto Lexicon definitions.
Installation #
npm install @typelex/emitter
Usage #
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