Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including boats with all npm packages installed. Try it out:

var boats = require("boats")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

boats v2.0.3

Beautiful Open / Async Template System - Write less yaml with BOATS and Nunjucks.

BOATS

Boats

An OpenAPI & AsyncAPI templating system with Nunjucks... write less YAML... do more.


Quick start

  • Create a new project, npm init
  • Install boats, npm i --save boats
  • Add to the scripts, ... "scripts": {"boats": "boats"} ...
  • Run BOATS init, npm run boats -- --init, follow prompts

Docs

Full docsify documentation here

Examples

Example files can be found here:

  • https://github.com/johndcarmichael/boats/tree/master/srcASYNC2
  • https://github.com/johndcarmichael/boats/tree/master/srcOA2
  • https://github.com/johndcarmichael/boats/tree/master/srcOA3

Last publish reason

v2 now injects the package.json > name as a prefix to permissions unless instructed not.

Please view the changelog for more details.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free