ecs-typescript

Autogenerated TypeScript type definitions for Elastic Common Schema (ECS)

APACHE-2.0 License

Downloads
10.6K
Stars
3
Committers
6

@elastic/ecs

Automatically generated TypeScript type definitions for the Elastic Common Schema.

When run, this program will fetch the ECS schema from the elastic/ecs repository. Defaults to main ref, can be overridden with --ref flag.

Local development

  1. Install yarn & Node.js
  2. yarn build: Runs tsc
  3. yarn dev: Runs tsc and watches for changes
  4. yarn test: Runs unit tests with jest
  5. yarn generate-ecs-types: Generates a ts file in generated/ecs.ts