Socket
Socket
Sign inDemoInstall

api-build

Package Overview
Dependencies
306
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

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)


Version published
Weekly downloads
2
Maintainers
1
Created
Weekly downloads
 

Readme

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

Last updated on 12 May 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc