New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

api-build

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-build

[![CircleCI](https://circleci.com/gh/readmeio/api-build.svg?style=shield&circle-token=98043ed3103dabae88fdfed5275742eff4d2df9c)](https://circleci.com/gh/readmeio/api-build)

0.5.0
latest
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 12 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts