simple-callback

1.0.0 • Public • Published

simple-callback

Define simple callback function with javascript Node.js

installation via npm

npm install simple-callback

API

exports.set(name, value)

exports.get(name)

for use

var callback = require('./simple-callback');
var setup = callback.set('func', function() {
  return 'simple callback';
});

console.log(setup.get('func'));

Package Sidebar

Install

npm i simple-callback

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • calrabbit