@kiki.im.dev/zenstack-fetch
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

ZenStack Fetch Plugin

ZenStack Fetch Plugin is a standard plugin of ZenStack to generate fetch from the ZModel schema with ofetch.

Example

TBD

Setup

npm i -D @kiki.im.dev/zenstack-fetch

add the plugin in your ZModel schema file

plugin fetch {
    provider = '@kiki.im.dev/zenstack-fetch'
}

run zenstack generate

npx zenstack generate

you will see the schema.md generated in the same folder of your ZModel schema file.

Options

TBD

Local Development

TBD

Run Sample

simply run npm run dev to see a more complicated result schema.md generated from schema.zmodel

Readme

Keywords

Package Sidebar

Install

npm i @kiki.im.dev/zenstack-fetch

Weekly Downloads

5

Version

0.2.1

License

MIT

Unpacked Size

29.2 kB

Total Files

12

Last publish

Collaborators

  • kiki.im.dev