Skip to content
#

Deno

deno logo

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...

cloudbase-framework
binggg
binggg commented Jul 24, 2020

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
denon
Tsourdox
Tsourdox commented May 29, 2020

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

DavidDeSimone
DavidDeSimone commented Feb 19, 2021

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

Trex
NexWasTaken
NexWasTaken commented Feb 28, 2021

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

Created by Ryan Dahl

Organization
denoland
Website
deno.land
Wikipedia
Wikipedia

Related Topics

rust typescript