Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
node-zendesk
Advanced tools
A Zendesk API client library for use with node.js
Read the full documentation at blakmatrix.github.io/node-zendesk/
Promise support was introduced in @v2.0.0
, the Legacy version of node-zendesk without Promises @v1.5.0
To use the API, just do the standard
$ npm install --save node-zendesk
var zendesk = require('node-zendesk');
var client = zendesk.createClient({
username: 'username',
token: 'token',
remoteUri: 'https://remote.zendesk.com/api/v2'
});
client.users.list(function (err, req, result) {
if (err) {
console.log(err);
return;
}
console.log(JSON.stringify(result[0], null, 2, true));//gets the first page
});
or you can use Promises
, you just need to skip the callback:
var zendesk = require('node-zendesk');
var client = zendesk.createClient({
username: 'username',
token: 'token',
remoteUri: 'https://remote.zendesk.com/api/v2'
});
client.users.list()
.then(function(result) {
console.log(JSON.stringify(result[0], null, 2, true));//gets the first page
})
.catch(function(error) {
console.log(error);
});
Take a look in the examples
folder for more examples.
If you're looking to contribute, please refer to the API Coverage Document, open an issue, or make a PR!
Tests and examples are also welcome.
Zendesk's documentation can be found here.
MIT.
FAQs
A trusted Zendesk API client library for Node.js and the browser, lovingly maintained for over 10 years.
The npm package node-zendesk receives a total of 43,162 weekly downloads. As such, node-zendesk popularity was classified as popular.
We found that node-zendesk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.