c2-addon-parser

0.7.1 • Public • Published

Construct 2 Addon parser NPM version

A module to extract ACE table of a plugin

Installation

$ npm i -g c2-addon-parser
$ npm i -S c2-addon-parser

Usage

The plugin can used from both node script or cli

API

var ap = require('c2-addon-parser');
var ace = ap.export("addon folder", "html/markdown/json");
 
var type = ap.getType("addon folder");

CLI

// regular export
acetable -d addon_folder -e export_type
 
// export and write file to the addon directory
acetable -d addon_folder -e export_type -o table.md
 
// use -t to only get the type of the addon
acetable -t -d addon_folder

Available export

  • JSON
  • HTML
  • Markdown

Addon support

  • Behaviour
  • Plugin

Coming

  • Effects

License

MIT © Armaldio

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.7.1
    1
    • latest

Version History

Package Sidebar

Install

npm i c2-addon-parser

Homepage

http:

Weekly Downloads

1

Version

0.7.1

License

MIT

Unpacked Size

29.6 kB

Total Files

18

Last publish

Collaborators

  • armaldio