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

@lit-protocol/flows

v0.4.6

Published

Deploy code that moves your money, governed by a policy that can refuse — scaffold a fund action with `flows init`, dry-run it against your policy with `flows deploy`, promote it to run live on Lit's TEE.

Readme

Flows CLI — @lit-protocol/flows

Deploy code that moves your money across DeFi + CEX, governed by a policy that can refuse. Built on Lit Protocol; live at flows.litprotocol.com.

The code you deploy is a proposer: it computes the move it wants and never signs. A certified executor acts on the judged intent only after the policy gate — running in Lit's TEE — allows it. The gate can allow, hold (wait for a human), or deny; a deny is absolute, and every move (and refusal) leaves a signed receipt.

Try it in under a minute — no account needed

npm install -g @lit-protocol/flows

flows init                    # scaffolds cex-limit.js + manifest + sample params
flows deploy cex-limit.js --local   # runs the real policy gate on your machine

--local runs the exact production gate in-process — no login, no backend, nothing signed — and prints the verdict with the budget math:

Policy verdict: ALLOW
  • $46000.00 of $50000.00 remains today after this run

Run flows init --list to see all templates (rebalance, dca, stop-loss, yield-enter, contract-call).

Deploy for real

flows login                        # opens your browser to sign in (--key <api_key> for CI)
flows deploy cex-limit.js --wallet <venueConnectionId>

New installs start in dry-run — they tick on their schedule and simulate the gate verdict without moving funds. An org admin then promotes to live (flows automations promote <id>), and the gate keeps refusing out-of-policy moves either way.

Commands

| Command | What it does | |---------|--------------| | flows login | Sign in via the browser; --key for headless/CI (create a key) | | flows init [template] | Scaffold a runnable fund action + manifest + sample params | | flows deploy <file> | Dry-run against your policy, then install (--local = no login, in-process gate) | | flows action check <file> | Judge one candidate move against a policy/grant, no install | | flows venues connect\|connect-onchain\|list | Connect a CEX (Binance, Coinbase…) or on-chain wallet | | flows portfolio | Unified attested portfolio across connected venues | | flows automations templates\|install\|tick\|request-grant\|status\|promote\|logs | Certified automations: install → dry-run → promote | | flows policy show\|presets\|apply\|edit | Your org policy — the law every move is judged against | | flows approvals list\|release | Held moves awaiting a person (release requires being the assigned approver) | | flows executor publish\|packet\|approve | Custom signing executors, owner-approved by exact CID | | flows registry inspect <cid> | Inspect a CID in the on-chain action registry | | flows secrets set\|list\|delete | Per-action encrypted secrets | | flows rebalance dry-run | Preview a CeFi ↔ DeFi rebalance (two legs, one gate) |

Drive it from an agent

  • MCP: point Claude / Cursor / Codex at https://flows.litprotocol.com/mcp with Authorization: Bearer flows_YOUR_KEY — setup per client in the MCP docs.
  • Text-first docs for LLMs: llms.txt / llms-full.txt.
  • OpenAPI: https://flows.litprotocol.com/api/docs/openapi.json.

Docs

License

MIT