An open API service indexing awesome lists of open source software.

https://github.com/uetchy/ifttt-platform

Build your custom actions & triggers for IFTTT platform.
https://github.com/uetchy/ifttt-platform

Last synced: 4 months ago
JSON representation

Build your custom actions & triggers for IFTTT platform.

Awesome Lists containing this project

README

          


Ifso

## Installation

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

## Usage

```bash
npx ifso server
```

### Writing `action` for IFTTT service

```js
exports.default = async ({ actionFields }) => {
const { text } = actionFields;
console.log(`received: ${text}`);
};
```

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

## Writing `trigger`

```js
exports.default = async query => {};
```