Skip to content

Deno, a secure runtime for JavaScript and TypeScript.

Notifications You must be signed in to change notification settings

brunormferreira/deno-runtime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Read the documentation to install

Go by link to Deno documentation.

  • You can run both TypeScript (.ts) files, or JavaScript (.js) files.

  • Not compatible with Node (NPM) packages.

  • Good article from FreeCodeCamp.

Running Deno file

$ deno run 'file-name'

Formatting Code

$ deno fmt 'file-name'

Flags

  • --allow-all (Allow all permissions (same as -A)) - Don't use it.
  • --allow-read (Allow file system read access).
  • --allow-write (Allow file system write access).
  • --allow-plugin (Allow loading plugins).
  • --allow-net (Allow network access).
  • --allow-env (Allow environment access).
  • --allow-run (Allow running subprocesses).

Denon

  • On command line, do the following command inside a folder to Denon watch file changes.
$ denon -c .denon 'file-name'

About

Deno, a secure runtime for JavaScript and TypeScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published