
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
@getgrasp/sdk
Advanced tools
Node.js SDK for interacting with the Grasp API.
Install the package via pnpm:
pnpm add @getgrasp/sdk
Create a client and call methods:
import { Grasp } from '@getgrasp/sdk';
const grasp = new Grasp({
apiKey: process.env.GRASP_API_KEY,
// baseUrl: 'http://localhost:3000' // Optional override for local development
});
const container = await grasp.create({
// containerId: 'existing-container-id', // Optional: resume an existing container
// metadata: { key: 'value' }
});
console.log(`Container ${container.id} started at ${container.createdAt}`);
console.log(`CDP endpoint: ${container.browser.wsEndpoint}`);
await container.shutdown();
If you omit apiKey, the SDK reads the GRASP_API_KEY environment variable. The call
rejects immediately when no API key is available.
pnpm --filter @getgrasp/sdk dev – Rebuild on changes.pnpm --filter @getgrasp/sdk build – Emit production bundles to dist/.Extend src/index.ts with the real API surface as endpoints become available.
FAQs
Official Node.js SDK for Grasp
We found that @getgrasp/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.