0.1.2 • Published 9 years ago

ifttt v0.1.2

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

ifttt

IFTTT

Enables you to build IFTTT compatible node endpoints with express.

Features

Planned

Install

Install the module via npm:

$ npm install --save ifttt

Usage

// Require the module in your code.
var Ifttt = require('ifttt');

// Create new IFTTT channel.
var iftttChannel = new Ifttt();

// Add triggers & actions to your IFTTT channel.
iftttChannel.registerTrigger(YOUR_TRIGGER);
iftttChannel.registerAction(YOUR_ACTION);

// Add IFTTT channel routes to your express app.
iftttChannel.addExpressRoutes(app);