@elastic/ecs
v8.11.5
Published
Automatically generated TypeScript type definitions for the [Elastic Common Schema](https://www.elastic.co/guide/en/ecs/current/index.html).
Downloads
12,511
Maintainers
Keywords
Readme
@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
- Install yarn & Node.js
yarn build
: Runstsc
yarn dev
: Runstsc
and watches for changesyarn test
: Runs unit tests withjest
yarn generate-ecs-types
: Generates a ts file ingenerated/ecs.ts