1.0.5 • Published 9 years ago

init-contract-json v1.0.5

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
9 years ago

init-contract-json

A node module to get your eppm contract started.

Forked from NPM's init-package-json

Usage

var init = require('init-contract-json')
var path = require('path')

// the dir where we're doin stuff.
var dir = process.cwd()


init(dir, 'file that does not exist', 'file that does not exist', function (err, data) {
// the data's already been written to {dir}/contract.json
// now you can do stuff with it
})

Or from the command line:

$ eppm init