@amjs/api-parser

Reads and parses an API spec file, then creates ORM solution

Usage no npm install needed!

<script type="module">
  import amjsApiParser from 'https://cdn.skypack.dev/@amjs/api-parser';
</script>

README

@amjs/api-parser 0.1.2

Reads your API spec file and creates complete ORM solution files, using @amjs/data-types

Installation

$ npm i -g @amjs/api-parser

Usage

$ api-parser --src <path> --o <path> [options]

Options:

Option Description
--s, --src, --source API spec file or folder
--o, --out, --output Output destination folder
--v, --verbose Enables debug information
--nc, --no-clean Persists logs after execution (use with caution)

Supported API specs

Currently supported API specs are: