writejs

1.0.0 • Public • Published

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(); `

/writejs/

    Package Sidebar

    Install

    npm i writejs

    Weekly Downloads

    3

    Version

    1.0.0

    License

    GPL-3.0

    Last publish

    Collaborators

    • dillontcordova