rollup-plugin-type-as-json-schema

A rollup plugin to load a ts type as json schema object.

Usage no npm install needed!

<script type="module">
  import rollupPluginTypeAsJsonSchema from 'https://cdn.skypack.dev/rollup-plugin-type-as-json-schema';
</script>

README

Build Status Coverage Status install size

rollup-plugin-type-as-json-schema

Library starter

Usage

bash <(curl -sL https://git.io/rollup-plugin-type-as-json-schema)

Compatibility Note

This lib support these browsers or devices with these methods or APIs pollyfilled.

Workflow

# develop
npm start

# build
npm run build

# test
npm test

# commit changes
npm run commit

# publish
npm publish

TODO

  • github pages
  • generator