easyly

1.0.3 • Public • Published

Easyly Node.js Library

npm NPM

Installation

Use npm to install the module:

npm install easyly

Usage

The package needs to be configured with your account's secret key, which is available in the Easyly Dashboard. Require it with the key's value:

const easyly = require('easyly')('sk_test_...');

easyly.leads.create({
    name: 'John Doe',
    email: 'john@example.com',
})
    .then(lead => console.log(lead.id))
    .catch(error => console.error(error));

Full documentation can be found on the Easyly Documentation

Contributing

If you would like to contribute to Easyly, please make sure to read our contributor guidelines.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i easyly

    Weekly Downloads

    17

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    21.8 kB

    Total Files

    16

    Last publish

    Collaborators

    • easyly