Skip to content

ontohub/broccoli-json-schema-module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

broccoli-json-schema-module

Converts JSON schema files to ES6 modules. .json files will be transpiled into .js files with the resolved json schema contents as the default export.

A file named config.json with contents {} will be transformed into config.js with contents export default {};.

Installation

npm install --save-dev ontohub/broccoli-json-schema-module

Usage

var json = require('broccoli-json-schema-module');
tree = json(tree);

About

Broccoli filter to convert JSON schema files to ES6 modules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%