Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

machine

Package Overview
Dependencies
Maintainers
5
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

machine

Configure and execute machines

  • 2.0.4
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

machine

This module is a runtime for machines; i.e. any function which conforms to the open standard outlined here.

Most machine consumers won't interact with this module directly-- rather, you'll want to require a machinepack from NPM like so:

var Github = require('machinepack-github');

Then use one of its machines:

Github.getRepo({
  user: 'balderdashy',
  repo: 'sails'
})
.exec({
  success: function (repo){ /*...*/ },
  error: function (err){ /*...*/ },
  invalidApiKey: function (err){ /*...*/ }
});

For more information on using machines, an up-to-date list of all available machinepacks, and standardized documentation for each one, visit http://node-machine.org.

For implementors

If you're implementing a machinepack, you'll need to use this module to .pack() your machines. See http://node-machine.org/spec/machinepack for more information.

Advanced Use

If you're implementing a one-off machine (i.e. just to take advantage of the caching or type-checking this module provides), you may need lower-level access to the methods herein.

See docs/DIRECT_USAGE.md for information on how to use all the lower-level features of this module.

License

MIT © 2014 Mike McNeil

FAQs

Package last updated on 21 Jan 2015

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc