1.0.12 • Published 2 years ago

@followup/node v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

And SDK to interact with the Followup API

✨ Features

  • 🌈 Trigger new notifications from node
  • 📦 Easy to setup and integrate
  • 🛡 Written in TypeScript with predictable static types.

📦 Install

npm install @followup/node
yarn add @followup/node

🔨 Usage

import { Followup } from '@followup/node';

const followup = new Followup(process.env.FOLLOWUP_API_KEY);

await followup.trigger('<REPLACE_WITH_EVENT_NAME>', {
  $user_id: "<USER IDENTIFIER>",
  $email: "<USER_EMAIL>",
  customAttribute: "", // use the custom attribute from each event here
  firstName: "" 
});

TypeScript

@followup/node is written in TypeScript with complete definitions.

🔗 Links

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago