1.0.0 • Published 4 years ago

@atex/ace-wimson v1.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

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 --help

Developer setup

$ git clone ...
$ cd ace-wimson
$ npm install -g
$ npm link

Use 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.