Open coding-to-music opened 3 years ago
https://deno.land/manual@v1.11.2/introduction
Deno is a JavaScript/TypeScript runtime with secure defaults and a great developer experience.
It's built on V8, Rust, and Tokio.
deno
).deno info
) and a code
formatter (deno fmt
).Deno aims to be a productive and secure scripting environment for the modern programmer.
Deno will always be distributed as a single executable. Given a URL to a Deno program, it is runnable with nothing more than the ~25 megabyte zipped executable. Deno explicitly takes on the role of both runtime and package manager. It uses a standard browser-compatible protocol for loading modules: URLs.
Among other things, Deno is a great replacement for utility scripts that may have been historically written with Bash or Python.
deno
).Deno
namespace (or feature test for it), ought to
also be able to be run in a modern web browser without change.npm
.
package.json
in its module resolution algorithm.Deno uses "ES Modules" and does not support require()
. Third party modules
are imported via URLs:
import * as log from "https://deno.land/std@$STD_VERSION/log/mod.ts";
--reload
flag. (So, this will still work on an
airplane.)https://deno.land/manual@v1.11.3/examples
In this chapter you can find some example programs that you can use to learn more about the runtime.
https://github.com/coding-to-music/deno-exploring/blob/master/README.md
copied from: https://deno.land/manual@v1.11.3/examples
In this chapter you can find some example programs that you can use to learn more about the runtime.
https://github.com/denoland/deno
Deno
Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.
Features
Install
Shell (Mac, Linux):
PowerShell (Windows):
Homebrew (Mac):
Chocolatey (Windows):
Scoop (Windows):
Build and install from source using Cargo:
See deno_install and releases for other options.
Getting Started
Try running a simple program:
Or a more complex one:
You can find a deeper introduction, examples, and environment setup guides in the manual.
The complete API reference is available at the runtime documentation.
Contributing
We appreciate your help!
To contribute, please read our guidelines.