This package has been deprecated

Author message:

This library is deprecated.

api-build

0.5.0 • Public • Published

api

CircleCI

cli and node module to create, manage and run services

Usage (CLI)

With npm:

npm install api-build -g

With yarn:

yarn global add api-build

This gives you the api command line program

# Displays usage information 
api 
 
# In a fresh directory 
api init

Usage (node module)

With npm:

npm install api-build --save

With yarn:

yarn add api-build
const api = require('api-build');

api.create(name, function)

  • name is the name of the of the action
  • function is the code to invoke when this action is run

function is invoked with (data, api)

  • data is an object containing parameters passed to your actions
  • api is an object containing error and success methods to call on completion

Credits

Dom Harrington

Marc Cuva

Dependencies (19)

Dev Dependencies (6)

Package Sidebar

Install

npm i api-build

Weekly Downloads

20

Version

0.5.0

License

ISC

Last publish

Collaborators

  • mjcuva
  • owlbert