New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

timelyapp

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timelyapp

SDK for timelyapp.com API

latest
Source
npmnpm
Version
6.1.0
Version published
Weekly downloads
34
-24.44%
Maintainers
1
Weekly downloads
 
Created
Source

TimelyApp Node SDK

Timely Rest API GitHub Workflow Status npm Downloads Dependency Status License

A typed node module which provides a wrapper and several convienence functions for the TimelyApp.com API

Installation

npm install timelyapp

Examples

import { TimelyApp } from 'timelyapp'
import dotenv from 'dotenv'
dotenv.config()

const timely = new TimelyApp({
    accountId: process.env.TIMELY_ACCOUNT as string,
    token: process.env.TIMELY_TOKEN as string,
})

;(async () => {
    const output = await timely.getClients()
    // eslint-disable-next-line no-console
    console.dir(output, { depth: null })
    // eslint-disable-next-line no-console
})().catch(console.log)

Create the client

import { TimelyApp } from 'timelyapp'

const timely = new TimelyApp({
  clientId: 'xxxxxxxxxxxxx',
  clientSecret: 'xxxxxxxxxxxxx',
  accountId: '123456',
})

Get all users

const users = await timely.users.getAll()

FAQs

Package last updated on 08 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts