0.0.19 • Published 5 years ago
jadoo v0.0.19
Jadoo
Jadoo is a library that helps conjure up a data layer.
Installation
Use the package manager npm to install jadoo.
npm install --save jadoo
Usage
Ensure assetsDir
contains the following:
data-models
should contain the data modelsdata-templates
should contain the templates
Data models are described in Yaml syntax.
Templates are defined in EJS syntax.
Ensure resultDir
does not contain any files or folders because they might be overwritten.
const path = require('path');
const { generateDataLayer } = require('jadoo');
const assetsDir = path.join(process.cwd(), 'assets');
const resultDir = path.join(process.cwd(), 'result');
try {
generateDataLayer(assetsDir, resultDir);
} catch (error) {
// handle error here
}
See HOWTO to see how generateDataLayer
works, and how to extend it.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Licence
0.0.19
5 years ago
0.0.18
5 years ago
0.0.17
5 years ago
0.0.16
5 years ago
0.0.15
5 years ago
0.0.14
5 years ago
0.0.13
5 years ago
0.0.12
5 years ago
0.0.11
5 years ago
0.0.10
5 years ago
0.0.9
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.0
5 years ago