1.0.0 • Published 6 years ago
@atex/ace-wimson v1.0.0
ace-wimson
Wimson - An Ace UI Widget Import Json Generation Tool
Generates import json for Ace UI widgets.
Install as cli
$ npm install @atex/ace-wimson -g
$ wimson --helpDeveloper setup
$ git clone ...
$ cd ace-wimson
$ npm install -g
$ npm linkUse as lib
const wimson = require ('@atex/ace-wimson');
const options = {
alias: '_widget/anAliasForTheWidget',
workingDir: 'theDirWhereTheGeneratedJsonIsSupposedToLive',
filesDir: 'rootDirForTheFileStructureToBeImported',
name: 'nameOfTheWidget'
};
const result = wimson (options);
console.log (JSON.stringify (result, null, ' '));The module exports a function taking an options object that returns the result as an js object.
1.0.0
6 years ago