JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 22
  • Score
    100M100P100Q44746F
  • License GNU

Command Line Interface (CLI) to create and manage your deno workspace.

Package Exports

  • deno-cli

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (deno-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Deno-cli

Commands

..>dm --help
Usage: index [options] [command]

Options:
  -V, --version   output the version number
  -h, --help      display help for command

Commands:
  init            Initiate a deno project
  run             Run your deno project
  help [command]  display help for command

init

Create a workspace with two files: index.ts and config.json.

Config.json contains the fields "main" and "permissions":

{
    "main":"index.ts",
    "permissions":[
        "--allow-net"
    ]
}

In this file you should add all the permissions that you need.

Index.ts

console.log("Hello world!");