npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

@typelex/emitter

0.4.0

@gaearon

npmSnykSocket
Downloads:30
$ npm install @typelex/emitter
DailyWeeklyMonthlyYearly

@typelex/emitter

TypeSpec emitter for generating ATProto Lexicon definitions.

See https://typelex.org/

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