json-synthesizer
Overview
Program Synthesizer from JSON data sources that produces Transpilable Typed JSON.
Usage
Install the module using npm
:
npm install json-synthesizer
To use the synthesizer in node:
const synthesize = require('json-synthesizer');
const specification = {
inputOutputExamples: [
{
source: 'tag',
input: {
},
output: {
}
},
],
transforms: [
{
source: 'tag',
transform: function customTransform(json) {
return transformedJson;
}
}
]
};
console.log(synthesize(specification));
Specification requirements can be found in the Documentation.
Documentation
The main webpage for json-synthesizer can be found at here.
- Design Documentation is available here.
- JSDoc Documentation is available here.
- GitHub Repository is available here.
- NPM Package is available here.