1.0.0 • Published 7 years ago

writejs v1.0.0

Weekly downloads
6
License
GPL-3.0
Repository
github
Last release
7 years ago

WriteJs

Create and write a js file from a single callback. Choose to create a zip or js file from the simplicity of a method call.

Create Js File (at same folder destination of the script):

`const WriteJs = require('../index');

let callBack = function(){ exports.handler = function( _event, _context, _callback ){ return 'hello'; } };

let handlerName = 'test'; WriteJs(callBack, handlerName).create.js(); `