/ifttt-platform

Build your custom actions & triggers for IFTTT platform.

Primary LanguageTypeScriptMIT LicenseMIT

Ifso

Installation

npm install -g ifso
# or
yarn add --global ifso

Usage

npx ifso server

Writing action for IFTTT service

exports.default = async ({ actionFields }) => {
  const { text } = actionFields;
  console.log(`received: ${text}`);
};
exports.default = new Promise((resolve, reject) => {
  const { text } = query.actionFields;
  console.log(`received: ${text}`);
});

Writing trigger

exports.default = async query => {};