
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
pipedrive-client
Advanced tools
Typescript or Javascript client for the Pipedrive API.
This library is written using Promises, and meant to work with async/await in Typescript.
It will also work just fine in Javascript, but most of the examples are written for Typescript.
This library was originally written as a strongly typed, Promise-friendly alternative to the pipedrive/client-nodejs library available from Pipedrive. Where possible, the object structures and available functions in this library mimic those in pipedrive/client-nodejs, with signatures changed to use Promises instead of callback functions.
From that repo:
Pipedrive is a sales pipeline software that gets you organized. It's a powerful sales CRM with effortless sales pipeline management. See www.pipedrive.com for details.
npm install pipedrive-client
With a pre-set API token, in JavaScript:
var Pipedrive = require('pipedrive-client');
var pipedrive = new Pipedrive.Client('YOUR_API_TOKEN_HERE', { strictMode: true });
(The { strictMode: true } is here for backward compatibility, ignored, and can be omitted.)
In Typescript:
import {Pipedrive} from 'pipedrive-client';
const pipedrive = new Pipedrive.Client('YOUR_API_TOKEN_HERE');
Here's a quick example that will list some deals from your Pipedrive account:
import {Pipedrive} from 'pipedrive-client';
const pipedrive = new Pipedrive.Client('YOUR_API_TOKEN_HERE');
const deals = pipedrive.Deals.getAll({limit: 5}).deals;
for (let i = 0; i < deals.length; i++) {
console.log(deals[i].title + ' (worth ' + deals[i].value + ' ' + deals[i].currency + ')');
}
These are not yet supported, but support could easily be added by willing contributors following the patterns already established:
TODO: Document this (See Collection).
TODO: Document this (See PipedriveObject).
TODO: Document this
The Pipedrive REST API documentation can be found at https://developers.pipedrive.com/v1.
To run unit tests, execute npm test.
TBD. We built this at Casetext for ourselves, but we're willing to share with others. If you're interested in using this library, email stokes@casetext.com to discuss.
TBD
FAQs
Typescript or Javascript client for the Pipedrive API
We found that pipedrive-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.