
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
node-trello
Advanced tools
View Trello’s API documentation online.
npm install node-trello
https://trello.com/1/connect?key=<PUBLIC_KEY>&name=MyApp&response_type=token
replacing, of course, <PUBLIC_KEY> with the public key obtained in the first step.&expiration=never
in the url from the previous step.&scope=read,write
to the request for your user token.var Trello = require("node-trello");
var t = new Trello("<your key>", "<token>");
t.get("/1/members/me", function(err, data) {
if (err) throw err;
console.log(data);
});
// URL arguments are passed in as an object.
t.get("/1/members/me", { cards: "open" }, function(err, data) {
if (err) throw err;
console.log(data);
});
var fs = require("fs");
var path = require("path");
var Trello = require("node-trello");
var t = new Trello("<your key>", "<token>");
var cardId = "<the card id>";
var pathToFile = path.resolve(__dirname, "/path/to/file.doc");
t.post("/1/cards/" + cardId + "/attachments", { attachment: fs.createReadStream(pathToFile) }, function (err, attachments) {
if (err) throw err;
console.log(attachments);
})
Released under MIT.
FAQs
Node wrapper for Trello's HTTP API.
The npm package node-trello receives a total of 538 weekly downloads. As such, node-trello popularity was classified as not popular.
We found that node-trello 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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.