Collimate
Installation & Setup
npm install @computesdk/collimateCOLLIMATE_API_KEY=your_collimate_api_keyUsage
import { collimate } from '@computesdk/collimate';
const compute = collimate({
apiKey: process.env.COLLIMATE_API_KEY,
templateId: 'python',
});
// Create sandbox
const sandbox = await compute.sandbox.create();
// Run a command
const result = await sandbox.runCommand('echo "Hello from Collimate!"');
console.log(result.stdout); // "Hello from Collimate!"
// Clean up
await sandbox.destroy();Configuration Options
Supported Operations
Method
Supported
Notes
Notes
Last updated
Was this helpful?