Create Commands Shortcuts For Node Js and Deno

Create Commands Shortcuts For Node Js and Deno

Commands Create Commands Shortcuts For Node Js and Deno

Commands 📦

Commands for node users

create a file called run.config

inside he writes:

  server: node server.js

then execute with node js the file Commands.js and enter your command.

Commands for deno users

nest badge deno nest badge

for deno users now you can create command shortcuts to run files in deno and listen to changes in files.

create a file called run.json

inside he writes:

  "config": {
    "yourCommand": "--[any] anyFile.ts or .js"
  "files": ["./myWatch.ts", "./src/index.js"]

note: by default listen to all files

to install Commands for deno you must run the command:

$ deno install --allow-read --allow-run -n commands --unstable

to update Commands run:

$ deno install -f --allow-read --allow-run -n commands --unstable

Use with deno


in run.json

  "config": {
    "start": "--allow-net server.ts"
  "files": ["./app.ts", "./server.ts"]

in command line

$ commands start

info ⚠

the run.json file must be at the root of the directory to function.

Commands for deno is created with the standard libraries which are not yet completely stable, any problem can create an issue to the repository

installation permissions

  • Read: to read the run.json file

  • Run: to run deno in background

Download Details:

Author: crewdevio

Source Code:

deno nodejs node javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

AEM Querybuilder for JavaScript (Browser, Node, Deno)

Helix Querybuilder .AEM Querybuilder for JavaScript (Browser, Node, Deno)

NKeys for JavaScript - Node.js, Browsers, and Deno

A public-key signature system based on Ed25519 for the NATS ecosystem system for JavaScript. The nkeys.js library works in Deno, Node.js, and the browser!

Javascript module for easily generating mazes,compatible with both Deno and Node

A work-in-progress Javascript maze generator module, compatible with both Deno and Node.

Deno Tutorial for Beginners: Deno vs. Node: Better Than NodeJS?

Deno is released, it’s time to find out if it can prove a worthy competition for Node.js. What is Deno? Why Deno can be considered an alternative to Node? The main differences between Deno and Node. Write a simple Deno app.

What is Deno? The Node.JS Killer? The Deno-minator to Node?

What is Deno? The Node.JS Killer? The Deno-minator to Node? Deno is the new hype and will it be better than node.js? Deno is a secure runtime for JavaScript and TypeScript that is based on the V8 JavaScript engine and the Rust programming language that addresses Node’s shortcomings