1.0.4 • Published 7 years ago

binize v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

binize

Easy fire node functions defined into a file via command-line.

Have you ever needed a quick way to fire an API call through command line? I have.

Usage

Install:

yarn add binize

Require and apply:

const service = module.exports = {
    myFunction: async ({ key, anotherKey }) => {
        return [key, anotherKey];
    },
};

require('binize')(service);

Run:

node file.js myFunction --key value --anotherKey anotherValue
1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago