gren-compiler-library
v0.4.5
Published
The Gren compiler as a JavaScript library
Downloads
16
Readme
node-compiler-library
This package makes it easy to communicate with the Gren compiler from JavaScript.
This library is compatible with Gren 0.4.5.
API
You can find more details in the documentation comments in the source code, but here's a short overview.
execute(path, args, options)
: Execute any command through the Gren compiler.installDependencies(path, options)
: Install all dependencies of project onpath
.compileProject(path, options)
: Compile the project onpath
.compileDocs(path, options)
: Extract documentation from project onpath
.validateProject(path, options)
: Check that project onpath
compiles successfully.