yaml-dts

0.1.2 • Public • Published

yaml-dts-gen

generate d.ts file from yaml

Install

yarn add yaml-dts -D

Usage

as default, this cli generate .d.ts file. Its filename follows original yaml file, like original.yml, then generate original.d.ts .

npm i -g typescript
npx yaml-dts [target yaml file]

Example

npx yaml-dts a.yml
npx yaml-dts b.yaml
npx yaml-dts config/*
npx yaml-dts config/*.yml
npx yaml-dts config/*.yaml

Package Sidebar

Install

npm i yaml-dts

Weekly Downloads

62

Version

0.1.2

License

MIT

Unpacked Size

8.67 kB

Total Files

7

Last publish

Collaborators

  • gavinning