Deno
Deno is a JavaScript/TypeScript runtime with secure defaults and a great developer experience. It's built on V8, Rust, and Tokio.
- Secure by default. No file, network, or environment access (unless explicitly enabled).
- Supports TypeScript out of the box.
- Ships a single executable (deno).
- Has built in utilities like a dependency inspector (deno info) and a code formatter (deno fmt).
- Has a set of reviewed (audited) standard modules that are guaranteed to work with Deno.
- Scripts can be bundled into a single javascript file.
Here are 2,116 public repositories matching this topic...
-
Updated
Apr 23, 2021 - JavaScript
-
Updated
Apr 21, 2021 - TypeScript
Is your feature request related to a problem? Please describe.
支持自动检测框架的覆盖范围仅仅支持了几个常见前端框架和函数,还可以拓展更多的框架和语言来提升体验
这块的实现是基于配置式的,可以比较轻松拓展一个新框架的支持
https://github.com/TencentCloudBase/cloudbase-framework/blob/master/packages/framework-core/src/detect-frameworks/frameworks.ts
大家可以通过这个快速参与进核心代码的开发当中,目前可以考虑支持的框架和技术有 Hexo, Egg, Koa, Express, Koa , Docker 容器等
- Vue
- React
- V
-
Updated
Apr 12, 2021 - JavaScript
-
Updated
Apr 22, 2021 - TypeScript
-
Updated
Feb 3, 2021 - Rust
Not sure if this is the correct way to do it, but I wanted to save a cache script I could easily run.
"cache": {
"desc": "Cache versions and update lock file",
"cmd": "deno cache server.ts --lock-write",
"lock": "./lock.json"
}
The result however when running denon cache is an endless loop instead of just executing it once, looks like this:
![Skärmavbild
Events
error[no-self-assign]: length
--> /Users/lucacasonato/projects/github.com/denoland/deno/op_crates/fetch/22_body.js:80:23
|
80 | second.length = second.length;
| ^^^^^^^^^^^^^
|
= help: Mistake
This error message should be reworked. It need a better help text, and a better error text.
-
Updated
Mar 23, 2021 - TypeScript
There are a large number of potential error and result types contained in JavaScript.rs. When building that module, I made the decision to convert all errors into IoError via calls to map.
Deno solves this problem by using AnyHow, which they expose via the deno_core crate. They also expose helper functions like "deno_core::error::generic_error" to make using that error system easier.
Since deno
-
Updated
Apr 1, 2021 - TypeScript
-
Updated
Apr 19, 2021 - TypeScript
-
Updated
Feb 23, 2021 - TypeScript
At the moment you need to do:
# Compile the handler (and fetch dependencies into DENO_DIR).
DENO_DIR=.deno_dir deno fetch hello.ts
# This is the "remapping" step:
cp -R .deno_dir/gen/file/$PWD/ .deno_dir/LAMBDA_TASK_ROOT
# Note: We do the inverse of this operation in bootstrap.
zip lambda.zip -x '.deno_dir/gen/file/*' -r .d
-
Updated
Feb 25, 2021 - JavaScript
-
Updated
Apr 23, 2021 - Dockerfile
In version typescript 4.1 the option "noUncheckedIndexedAccess" has been added.
I would strongly advise deno to support the ability to set this option.
https://www.typescriptlang.org/tsconfig#noUncheckedIndexedAccess