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

@dura-run/cli

v0.3.3

Published

CLI for the dura.run managed automation platform

Downloads

1,552

Readme

@dura-run/cli

Command-line tool for dura.run — deploy TypeScript and JavaScript automations with one command.

Install

npm install -g @dura-run/cli

Quickstart

# 1. Authenticate
dura login

# 2. Create a new project with a POST endpoint
dura new my-api --trigger post
cd my-api

# 3. Run it locally
dura dev
# → http://localhost:3000/hello

# 4. Deploy
dura deploy

Common commands

| Command | Purpose | |---|---| | dura new <name> | Scaffold a new project (--trigger get\|post\|cron) | | dura init | Add dura.json to an existing directory | | dura dev | Local dev server with hot reload | | dura deploy | Deploy to the dura cloud | | dura logs --follow | Tail execution logs | | dura secrets set KEY value | Store a secret for an automation | | dura endpoint-keys create <name> | Issue an API key for private HTTP triggers | | dura diagnose <exec-id> | AI-powered analysis of a failed execution |

All project-scoped commands pick up projectId from dura.json — you only need --project <id> when running outside a project directory.

Security

dura dev runs your handlers in-process (GH #118)

dura dev loads your automation code via native import(...) in the CLI's Node process. That process has full access to your filesystem — including ~/.dura/config (where the CLI stores your API key), ~/.ssh, ~/.aws, and environment variables. A malicious npm dependency anywhere in your handler's import graph could read those files and exfiltrate them on the first request.

To make this risk explicit, dura dev refuses to start whenever you have credentials stored locally unless you opt in per project:

# Option 1 — pass --trust (recommended; acknowledges the risk once)
dura dev --trust

# Option 2 — set an env var (useful in scripts / devcontainers)
DURA_DEV_TRUST=1 dura dev

# Option 3 — log out first (removes the credentials being protected)
dura logout
dura dev

Acceptance is recorded in .dura/dev-trust inside your project, so subsequent runs proceed without re-prompting. The warning banner is still printed each time as a reminder. Delete .dura/dev-trust to revoke trust for the project. Add the file to .gitignore if you don't want to share your acceptance with collaborators.

Treat dura dev with the same trust you'd give node -e ... in a project that imports every one of your dependencies — audit your package.json (and lockfile) before trusting a new project.

The trust gate is the permanent mitigation. We evaluated a full isolated-vm migration for local dev in GH #147 and declined it: the threat window is narrow (malicious deps mostly fire at install or require-time, which sandboxing dura dev wouldn't help with), and the engineering cost is high relative to the mitigation. Production handlers run in a real V8 isolate via the executor service. See docs/internal/architecture.md for the threat-model decision.

Documentation

Full docs and recipes at docs.dura.run.

License

Apache 2.0