
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@nitric/sdk
Advanced tools
Build Nitric applications with Node.js
The NodeJS SDK supports the use of the Nitric framework with NodeJS 12+. For more information, check out the main Nitric repo.
Nitric SDKs provide an infrastructure-as-code style that lets you define resources in code. You can also write the functions that support the logic behind APIs, subscribers and schedules.
You can request the type of access you need to resources such as publishing for topics, without dealing directly with IAM or policy documents.
Install the Nitric CLI, then generate your project:
TypeScript:
nitric new hello-world ts-starter
JavaScript:
nitric new hello-world js-starter
First of all, you need to install the library:
npm install @nitric/sdk
Then you're able to import the library and create cloud resources:
import { api, bucket } from '@nitric/sdk';
const publicApi = api('public');
const uploads = bucket('uploads').allow('write');
publicApi.get('/upload', async (ctx) => {
const photo = uploads.file('images/photo.png');
const url = await photo.getUploadUrl({
expiry: 300,
});
return ctx.res.json({ url });
});
Learn more by checking out the Nitric documentation.
Join us on Discord
Ask questions in GitHub discussions
Find us on Twitter
Send us an email
FAQs
Nitric NodeJS client sdk
We found that @nitric/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.