loops-client
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

loops-client

npm package Build Status Downloads Issues Commitizen Friendly Semantic Release

An unofficial javascript/typescript client for loops.so

Install

# yarn
npm install loops-client

# yarn
yarn add loops-client

Usage

import { LoopsClient } from 'loops-client';

const client = new LoopsClient('YOUR-API-KEY');
const response = await client.addContact({ email: 'email@example.com', firstName: 'foo', lastName: 'bar' });
if(response.success) {
    // Yay
} else {
    // Boo
}

Package Sidebar

Install

npm i loops-client

Weekly Downloads

48

Version

1.3.0

License

MIT

Unpacked Size

11.8 kB

Total Files

5

Last publish

Collaborators

  • iamnafets