jsr-dlx

0.2.0 • Public • Published

jsr-dlx

NPM

A basic utility for runnning JSR packages under Node or Bun on the command line. Based on both of yarn dlx and deno run.

npx jsr-dlx [PACKAGE] [ARGS?]
bunx --bun jsr-dlx [PACKAGE] [ARGS?]

Essentially, jsr-dlx calls npx jsr or bunx jsr to install the package into a temporary directory, and holds a reference to it in the user's cache directory. After this, it tries to figure out the entry point of the package and run it using the same runtime it was called with. When jsr-dlx is called again, it checks the cache file and checks if the directory exists. If it does, jsr-dlx skips the install step.

Readme

Keywords

Package Sidebar

Install

npm i jsr-dlx

Weekly Downloads

8

Version

0.2.0

License

MIT

Unpacked Size

84.8 kB

Total Files

4

Last publish

Collaborators

  • benjamin-wilkins