DENO - CLI
Deno is a command line program
Deno can grab the scripts from multiple sources, a filename, a url, and '-' to read the file from stdin
Anything passed after the
script name
will be passed as a script argument and not consumed as a Denoruntime flag
-> Example
Similarly for more info about permissions and cache process and performing in watch mode -> Official Docs
Since #Deno has support for [[TypeScript/Index.docs|TypeScript]], you can customize the built-in #Typescript compiler, formatter and linter.
The configuration file supports .json
and .jsonc
extensions.
Since v1.18, Deno will automatically detect a deno.json
or deno.jsonc
configuration file if its in your current working directory or parent directories. Else you can also use --config
flag to specify different configuration file.
Imports and Scopes
Since v1.30, deno.json
configuration file acts as an import map for resolving bare specifiers
Example: of deno.json
config file
Say main.ts
script be
-> The top-level deno.json
option importMap
along with the --importmap
flag can be used to specify the import map in other files.
Deno Native frameworks/tools/libraries
It uses a model where you send no JavaScript to clients by default
All the above mentioned frameworks have their advantages and tackle the problems that some failed to solve.
More info -> here
Let's Being -> [[Basics]]
Last updated