denoland logo

deno

A secure JavaScript and TypeScript runtime (by denoland)

Stats

Basic deno repo stats
17
74,342
9.9
about 5 hours ago

denoland/deno is an open source project licensed under MIT License which is an OSI approved license.

Deno Alternatives

Similar projects and alternatives to deno
  • GitHub repo kubernetes

    Production-Grade Container Scheduling and Management

  • GitHub repo wtfpython

    What the f*ck Python? 😱

  • GitHub repo esbuild

    An extremely fast JavaScript bundler and minifier

  • GitHub repo V8

    The official mirror of the V8 Git repository

  • GitHub repo esm.sh

    A fast, global content delivery network for ES Modules.

  • GitHub repo neovim

    Vim-fork focused on extensibility and usability

  • GitHub repo dayjs

    ⏰ Day.js 2KB immutable date-time library alternative to Moment.js with the same modern API

  • GitHub repo CppCoreGuidelines

    The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++

  • GitHub repo wtfjs

    🤪 A list of funny and tricky JavaScript examples

  • GitHub repo envoy

    Cloud-native high-performance edge/middle/service proxy

  • GitHub repo handlebars.js

  • GitHub repo FizzBuzz Enterprise Edition

    FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.

  • GitHub repo wasmer

    🚀 The leading WebAssembly Runtime supporting WASI and Emscripten

  • GitHub repo reqwest

    An easy and powerful Rust HTTP Client

  • GitHub repo conrod

    An easy-to-use, 2D GUI library written entirely in Rust.

  • GitHub repo parse5

    HTML parsing/serialization toolset for Node.js. WHATWG HTML Living Standard (aka HTML5)-compliant.

  • GitHub repo dyon

    A rusty dynamically typed scripting language

  • GitHub repo vim-lsc

    A vim plugin for communicating with a language server

  • GitHub repo rune

    An embeddable dynamic programming language for Rust.

  • GitHub repo koto

    A simple, expressive, embeddable programming language, made with Rust

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better deno alternative or higher similarity.

Posts

Posts where deno has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-11.
  • Streaming arbitrary data (video) to response
    reddit.com/r/Deno | 2021-04-13
    Is there a streaming API that i'm missing? I tried looking into / trying - Deno's Node fs compatibility module - std's io's Bufio - Deno.iter(file) - and I assume the new native http bindings have nothing to do with this either?
  • Native HTTP merged as unstable ready for 1.9
    reddit.com/r/Deno | 2021-04-12
  • Uploading files with Deno
    dev.to | 2021-04-11
    import { Application, send } from "https://deno.land/x/oak/mod.ts"; import { FormFile, multiParser } from 'https://deno.land/x/[email protected]/mod.ts' import { oakCors } from "https://deno.land/x/cors/mod.ts"; const app = new Application(); app.use( oakCors({ origin: true }), ); app.use(async (ctx) => { const path = ctx.request.url.pathname; if (path === '/upload') { const form = await multiParser(ctx.request.serverRequest) if (form) { const image: FormFile = form.files.image as FormFile try { await Deno.writeFile(`images/${image.filename}`, image.content); } catch (e) { console.error(e) } } ctx.response.body = '{"status": "ok"}'; } if (ctx.request.method === 'GET' && path.startsWith('/images')) { await send(ctx, ctx.request.url.pathname, { root: `${Deno.cwd()}` }); } }); app.listen({ port: 8082 });
  • How to Make Executable Files with Deno (Win, Linux)
    Both Nodejs and Deno were created by Ryan Dahl. In 2018, he made a presentation "10 Things I Regret About Node.js" and announced a new platform called Deno (here is a joke about his name preferences, node > deno > done).
  • Ask HN: What to use instead of Bash / Sh
    news.ycombinator.com | 2021-04-10
    As a devops engineer who also writes a lot of code, I started using Deno (https://deno.land) since I can write my code in JavaScript and TypeScript. I can also natively use wasm, and have an internal repo for hosting commonly used functions since Deno loads files using url imports.

    Can recommend!

  • Deno Rest APIs CRUD mysql
    dev.to | 2021-04-08
    import { dero, Request, Response, NextFunction } from "https://deno.land/x/[email protected]/mod.ts"; import vs from "https://deno.land/x/value_schema/mod.ts"; import { Client } from "https://deno.land/x/[email protected]/mod.ts"; import { json, urlencoded } from 'https://deno.land/x/parsec/mod.ts'; const client = await new Client().connect({ hostname: "127.0.0.1", username: "root", db: "dero-crud", password: "" }); const bodyValidator = (req: Request, res: Response, next: NextFunction) => { const schema = { name: vs.string(), brand: vs.string(), price: vs.number() }; let message: any; vs.applySchemaObject(schema, req.parsedBody, (err) => { const key = err.keyStack.shift(); if (key) { if (message === undefined) message = {}; message[key] = `Field '${key}' is required`; } }); if (message) return req.pond({ status: 422, message }, { status: 422 }); next(); } // middleware body parser dero.use(json, urlencoded); // find all items dero.get("/items", async (req) => { const sql = `select * from items`; const { rows } = await client.execute(sql); req.pond({ statusCode: 200, data: rows }); }); // find by items id dero.get("/items/:id", async (req) => { const sql = `select * from items where id = ?`; const { rows } = await client.execute(sql, [req.params.id]); const data = rows && rows.length ? rows[0] : null; req.pond({ statusCode: 200, data }); }); // search items /items-search?text=yourfavitems dero.get("/items-search", async (req) => { const qry = req.query; if (!qry.text) { throw new Error("query parameter text is required"); } const sql = `select * from items where name like '%${qry.text}%' or brand like '%${qry.text}%'`; const { rows } = await client.execute(sql); req.pond({ statusCode: 200, data: rows }); }); // save items dero.post("/items", bodyValidator, async (req) => { const body = req.parsedBody || {}; const sql = `insert into items(name, brand, price) values(?, ?, ?)`; await client.execute(sql, [ body.name, body.brand, body.price ]); req.pond({ statusCode: 201, messsage: "Success save items" }, { status: 201 }); }); // update items by id dero.put("/items/:id", bodyValidator, async (req) => { const body = req.parsedBody || {}; const sql = `update items set name = ?, brand = ?, price = ? where id = ?`; await client.execute(sql, [ body.name, body.brand, body.price, req.params.id ]); req.pond({ statusCode: 200, messsage: "Success update items" }); }); // delete items by id dero.delete("/items/:id", async (req) => { const sql = `delete from items where id = ?`; await client.execute(sql, [req.params.id]); req.pond({ statusCode: 200, messsage: "Success delete items" }); }); // error handling dero.onError((err: any, req: Request, res: Response, next: NextFunction) => { let status = err.code || err.status || err.statusCode || 500; if (typeof status !== 'number') status = 500; req.pond({ statusCode: status, message: err.message }, { status }); }); // not found error handling dero.onNotFound((req: Request, res: Response, next: NextFunction) => { req.pond({ statusCode: 404, message: err.message }, { status: 404 }); }); // listen the server await dero.listen(3000);
  • Generate HTML on the server with Deno and JSX
    dev.to | 2021-04-05
    React 17 is at the moment of writing not yet supported. The problem is that in React 17 the JSX is translated to something new. It isn't React.createElement anymore to avoid the need for importing React.
  • I published a book - Deno Web Development
    reddit.com/r/Deno | 2021-04-01
    It is about Deno (https://deno.land) - A secure runtime for JavaScript and TypeScript - and how to use it for web development.
  • [WIP] feat: native HTTP bindings | Github | #9935
    reddit.com/r/Deno | 2021-03-31
  • Announcing the Deno company!
    reddit.com/r/rust | 2021-03-30
    Deno does also provide a library-style Rust API that allows for embedded JS / interop / etc, which is where stuff like the Tokio dependencies come into play mostly. They have a basic example of usage of the Rust API that you can see here.
    reddit.com/r/rust | 2021-03-30
    I love esbuild. One of my favorite tricks is to tether a Deno fs watcher script to execute stuff after I change code (lazy bum's hot-reload).
  • Announcing the Deno Company
    It's a very common misconception that WASM is better than native bindings. The fact that WASM is portable is its only benefit. Unfortunately, WASM isn't nearly as fast as native bindings, and it can even be slower than JavaScript.
  • The Deno Company
    news.ycombinator.com | 2021-03-29
    It's getting there! They finished a rewrite of the extension recently and it's quite nice.

    If you're on Windows like me, sadly there's still a nasty bug with path mismatches between the LSP and the VSCode extension (https://github.com/denoland/deno/issues/9744) which requires reloading the window to fix spurious errors, but I'm sure it'll be fixed soon enough.

  • Building React Applications using Deno: The Definite Guide
    dev.to | 2021-03-26
    So that has been Aleph, a really interesting tool which allows you to bring your existing React knowledge, and mix it with the forward-looking nature and security of deno.land.
  • Is there a workaround for Discords shitty screenshare on Linux?
    Alright, I see you using debian based OS with apt package manager. You don't have deno installed, which is listed as dependency. You can download it from here. Simply type curl -fsSL https://deno.land/x/install/install.sh | sh in your terminal. Did it work now?