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,029 public repositories matching this topic...
-
Updated
Mar 26, 2021 - JavaScript
-
Updated
Mar 24, 2021 - TypeScript
-
Updated
Mar 28, 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
Mar 29, 2021 - JavaScript
-
Updated
Mar 28, 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
-
Updated
Mar 23, 2021 - TypeScript
-
Updated
Mar 29, 2021 - Rust
-
Updated
Dec 4, 2020 - TypeScript
-
Updated
Mar 20, 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
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
Mar 24, 2021 - Dockerfile
Running 'imports upgrade' gives syntax error.
Logs:
λ imports upgrade
Check https://denopkg.com/crewdevio/Trex@imports/cli.ts
error: Uncaught (in promise) SyntaxError: Unexpected token I in JSON at position 0
at JSON.parse (<anonymous>)
at Response.json (deno:op_crates/fetch/26_fetch.js:843:19)
at async updateTrex (https://raw.githubusercontent.com/crewdevio/Trex/imports
I'm happy to make a pull request if this is wanted. Maybe a button at the top next to the Twitter one?