denorg / Dpx
Licence: mit
📦 CLI to run a Deno package without installing it (like npx for Deno)
Stars: ✭ 32
Programming Languages
typescript
32286 projects
Labels
Projects that are alternatives of or similar to Dpx
Camoco
Camoco is a fully-fledged software package for building co-expression networks and analyzing the overlap interactions among genes.
Stars: ✭ 29 (-9.37%)
Mutual labels: cli
Libcmdf
Single-header library for writing CLI applications in C/C++
Stars: ✭ 30 (-6.25%)
Mutual labels: cli
Video To Ascii
It is a simple python package to play videos in the terminal using characters as pixels
Stars: ✭ 960 (+2900%)
Mutual labels: cli
Wait4x
Wait4X is a cli tool to wait for everything! It can be wait for a port to open or enter to rquested state.
Stars: ✭ 30 (-6.25%)
Mutual labels: cli
Mber
Fast and minimal Ember.js CLI alternative, without broccoli.
Stars: ✭ 30 (-6.25%)
Mutual labels: cli
Show Down
Command line utility to download latest episodes of TV show just by typing name of show. Also we can schedule to automatically download latest episodes of TV shows.
Stars: ✭ 29 (-9.37%)
Mutual labels: cli
Lumberjack
A terminal-ui log watcher written in Go using the Flux architecture
Stars: ✭ 31 (-3.12%)
Mutual labels: cli
Ignr.py
Python-based command line client to download .gitignore templates from gitignore.io
Stars: ✭ 30 (-6.25%)
Mutual labels: cli
📦 DPX
dpx
is like npx
for Deno, easily run a Deno CLI package.
Install DPX globally using:
deno install --allow-run --allow-net -n dpx https://deno.land/x/dpx/cli.ts
Then, the package is available to run:
dpx <packageName> <flags> <arguments>
Under the hood, the CLI finds the file to run (cli.ts
or mod.ts
) from the Deno registry and runs it.
💡 Examples
If you want to run the package online
(which tells you whether you are online), you can run:
dpx online --allow-net # You are online
Similarly, if you want to check whether a website is up, you can use the up
package:
dpx up --allow-net https://google.com # https://google.com is up
Required permissions:
--allow-net
--allow-run
⭐ API
You can use this package by importing it:
import { dpx } from "https://deno.land/x/dpx/mod.ts";
const result = dpx("packageName", ["--flags"], ["args"]);
Alternatively, you can use it directly from the CLI by using deno run:
deno run --allow-read --allow-run https://deno.land/x/dpx/cli.ts <flags> <packageName> <arguments>
👩💻 Development
Run tests:
deno test --allow-read
📄 License
MIT © Denorg
A project by Denorg, the world's first Deno-focused community
organization and consulting company. Work with us →
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].