apib-json

Convert Apib-file to json-file

Usage no npm install needed!

<script type="module">
  import apibJson from 'https://cdn.skypack.dev/apib-json';
</script>

README

apib-json

  • convention over configuration
  • concise yet expressive

API Blueprint Parser

Apib-json is complex builder of API Blueprint. it uses "nodejs + typescript" convert multiple apib files into four json files.

API Blueprint is Web API documentation language. You can find API Blueprint documentation on the API Blueprint site.

Installation

# Locally in your project
yarn add apib-json --dev

npm install -D apib-json

# Or globally
yarn global add apib-json

npm install -g apib-json

Usage

Shell

apib-json folderUrl(apib) folderUrl(target)

Code

var ApibJson = require('ApibJson');

const apibJson = new ApibJson();

apibJson.run('./apibs/', './apib_json/');

License

MIT