fury-adapter-apiary-blueprint-parser

3.0.0-beta.11 • Public • Published

Fury Apiary Blueprint Parser

NPM version License

This adapter provides support for parsing the deprecated Apiary Blueprint format in Fury.js. *We do not recommend using this adapter in any new development, it's only used for backwards compatibility with the legacy format.

Installation

$ npm install fury-adapter-apiary-blueprint-parser

Usage

import fury from 'fury';
import apiaryBlueprintAdapter from 'fury-adapter-apiary-blueprint-parser';
 
fury.use(apiaryBlueprintAdapter);
 
fury.parse({source: '--- Your Legacy Apiary Blueprint'}, (err, result) => {
  if (err) {
    console.log(err);
    return;
  }
 
  // The returned `result` is a Minim parse result element.
  console.log(result.api.title);
});

Readme

Keywords

none

Package Sidebar

Install

npm i fury-adapter-apiary-blueprint-parser

Weekly Downloads

1

Version

3.0.0-beta.11

License

MIT

Unpacked Size

97.7 kB

Total Files

8

Last publish

Collaborators

  • apiary-sre
  • kylef
  • pksunkara