broccoli-json-global

0.0.3 • Public • Published

broccoli-json-global

Installation

npm install --save-dev broccoli-json-global

Usage

var jsonGlobal = require('broccoli-json-global');

tree = jsonGlobal('public/data', {

  // The name of your globals object. Default is JSON_DATA.
  globalName: 'GLOBALS',

  // Whether or not to nest data. Keys will be the file name. Default is false.
  nestData: true

});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    2
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i broccoli-json-global

Weekly Downloads

4

Version

0.0.3

License

MIT

Last publish

Collaborators

  • michelle