JSPM

loops-client

1.3.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q27995F
  • License MIT

Unofficial client for loops.so

Package Exports

  • loops-client
  • loops-client/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (loops-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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
}