npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@useatlas/e2b

v0.0.7

Published

Atlas E2B sandbox plugin

Downloads

161

Readme

@useatlas/e2b

E2B Firecracker microVM (managed) sandbox for the explore tool.

Install

bun add @useatlas/e2b e2b

Usage

import { defineConfig } from "@atlas/api/lib/config";
import { e2bSandboxPlugin } from "@useatlas/e2b";

export default defineConfig({
  plugins: [e2bSandboxPlugin({ apiKey: process.env.E2B_API_KEY! })],
});

Config

| Field | Type | Default | Description | |-------|------|---------|-------------| | apiKey | string | — | E2B API key | | template | string? | default | Sandbox template ID | | timeoutSec | number | 30 | Command timeout in seconds | | pythonPackages | string[] | pandas, numpy, matplotlib, scipy, scikit-learn, statsmodels | Installed once per Python sandbox. Set to [] when your template already bakes them in |

Python execution

This plugin implements the SDK's optional Python surface, so a workspace that selects E2B runs both explore and executePython on its own E2B account. A failure there is an error, not a fallback to the Atlas platform sandbox.

Egress: the host's per-request REST datasource egress bound is applied, so the plugin declares pythonEgressControl: "enforced". Atlas's default for a Python run is deny-all; when a REST datasource is active the bound narrows to that datasource's hosts instead.

The plugin sets it with sandbox.updateNetwork (allowInternetAccess: false for deny-all; allowOut paired with denyOut: ["0.0.0.0/0"] for an allowlist) after pythonPackages are installed and before any agent code runs — narrowing first would cut the sandbox off from PyPI.

⚠️ Requires the e2b SDK >= 2.45.0, the version this was verified against and the peer range now requires. On a deployment whose SDK or backend refuses the egress rules, executePython fails with a named error rather than running unbounded; explore is unaffected. This bound is per sandbox and is in addition to whatever your own VPC enforces on a BYOC deployment.

⚠️ A datasource on a non-standard port is worth confirming. Atlas derives the allowlist from datasource hostnames (hostFromUrl strips the port), so E2B receives a bare domain. E2B's own vendor docs describe domain rules as covering ports 80/443; the 2.45.0 SDK schema states no port restriction on allowOut either way, so this is not settled from the type definitions alone. If your REST datasource listens on something else, verify egress reaches it before relying on this — the failure mode is fail-closed (a connection timeout inside Python), not an open sandbox.

Reference