yaypack

0.0.1 • Public • Published

Usage

var packer = require('yaypack');
packer.unpack({
    path: './', 
    files: {
        "some.json" : {
            "testProp" : "testValue",
            "testObject" : {
                "someObjects" : "contents"
            }
        },
        "cooltool.json" : {
            "coolconf" : 1
        }
    }
});

This writes the contents of "some.json" and "cooltool.json" to files with the same names to the given path. Useful as a pre-build step when various tools require a lot of different json cofiguration files.

Readme

Keywords

none

Package Sidebar

Install

npm i yaypack

Weekly Downloads

2

Version

0.0.1

License

BSD

Last publish

Collaborators

  • theeskhaton