chatl: javascript flavor
Installation
$ npm install -g chatl
Usage
CLI
Usage: chatl [options] <files...> Options: -V, --version output the version number -a, --adapter <name> Name of the adapter to use -m --merge <mergeFile> Options file to merge with the final result -h, --help output usage information
Library
You can use it with node
or directly in client libraries with webpack
.
; // Parsing the given dsl to a chatl representation const result = chatl; // And convert it to the snips equivalent using the adapterchatladapters;
Testing
$ npm i$ npm test # or `npm run wintest` on windows