
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
node-shipping-canadapost
Advanced tools
npm i node-shipping-canadapost
import CanadaPostAPI from 'node-shipping-canadapost';
const cp = new CanadaPostAPI({
environment: 'sandbox', // or production
platform: 'platform ID',
contract: 'contract number', // or null
customer: 'customer number',
user: 'user'
password: 'password'
});
cp.artifacts({
url: 'https://XX/ers/artifact/0456cd17e32a0039/3584/0'
}, cb)
cp.token({ }, cb)
cp.info({
token: '94a3dc50a581cc41b1f6d6'
}, cb)
cp.customers({ }, cb)
cp.manifest({
url: 'https://XX/rs/1234567/1234567/manifest/123456789012345678'
}, cb)
cp.options({
code: 'https://XX/rs/1234567/1234567/manifest/123456789012345678'
}, cb)
See params here
// Check pickup availability
cp.pickupAvailability(params, cb)
// Create
cp.cancelPickup(params, cb)
// Create pickup
cp.pickup(params, cb)
See params here
// Create
cp.rates(params, cb)
cp.services({
country: 'US',
origin: '32703',
destination: '32703',
contract: '' // or null
}, cb)
See params here
cp.create(params, cb)
FAQs
CanadaPost API for Node.JS
We found that node-shipping-canadapost 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
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.