A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕 View the Project on GitHub oakserver/oak oak A middleware framework for Deno’s native HTTP server, Deno Deploy and Node.js 16.5 and later. It also includes a middleware router. This middleware framework is inspired by Koa and middleware router inspired by @koa/router. API Documentation oak and Deno Deploy o
Copyright (c) 2018-2021 the Deno authors. MIT License. 日本時間の昨日(2021 年 7 月 13 日)に Deno の v1.12.0 がリリースされました。 詳細なリリース内容は上記のリリースノートにまとまっていますが、ざっと紹介していきたいと思います。 generateKey, sign, verify の3つの Web Crypto API がサポート ネイティブ HTTP サーバーでの WebSocket サポート REPL における TypeScript のサポート MessagePort および MessageChannel のサポート WebAssembly.compileStreaming() と WebAssembly.instantiateStreaming() のサポート Web Worker 間で Atomic
Deno is designed to streamline web and cloud development with built-in modern tools, direct access to web platform APIs, and the capability to import modules via npm. Web apps very often require some persistent application state. Setting up a database involves numerous configuration steps and the subsequent integration of an ORM or other systems. What if you could access such a database without an
This is long, but please read before you comment. If you are interested in following this, use the subscribe button to the right instead of just adding a comment. Since the Deno v1 announcement there has been a lot of community interest in the TypeScript compiler in Rust that was mentioned. This issue is intended to provide information on that. First a few points: I am a long term collaborator in
Update April 15, 2020: Still go for May 13. Update March 6, 2020: There's a difficult balance to be had between trying to get it right and shipping a usable product. The repository continues to see rapid development and we have yet to make substantial progress on the major missing feature: dev tool support. Therefore we are bumping the release date yet again. However instead of blindly estimating
Deno (ディーノ) Advent Calendar 18日目の記事です. 今日は date-fns を Deno から使う話です. date-fns とは date-fns はとても機能が豊富な時刻を扱うためのライブラリです. 一昔前は, 時刻といえば moment を使うのが一般的でしたが, 最近では moment のバンドルサイズが大きすぎることや, API のデザインの筋の悪さ(破壊的なメソッドが多い)から moment 代替のライブラリがいくつか活発に開発されています. その中でも人気が高いライブラリの一つが date-fns です. date-fns は moment や dayjs などと違い, 時刻を表すための独自クラスを持たない点が特徴です. 独自クラスを使わずに JavaScript の builtin 型である Date 型を, API の入出力として使います. つ
If you’ve ever tried Deno Deploy, our multi-tenant distributed JavaScript cloud, you may understand some of these glowing reviews: (And if you haven’t, deploy a Fresh site today!) Achieving this deployment speed was no mistake. Designing Deno Deploy was an opportunity to re-imagine how we want the developer experience of deploying an app to be, and we wanted to focus on speed and security. Instead
denoDBMySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
A mere month has passed since we released Fresh 1.2 into the wild and we’re already back with another release! We’re planning to release new minor versions of Fresh on a monthly cadence going forward. This cycle contained lots of incredible PRs from the community, which is nothing short of amazing! The documentation has been expanded and improved, many bugs fixed and new features added. Thank you
Deno Deploy makes it easy build and host any JavaScript app, function, or API server. Programming is faster and easier with Deno’s simple and robust APIs — web standard APIs, Node.js built-ins, and essential cloud services turned into first class JavaScript APIs, such as Deno KV (now in open beta). Your applications are run close to your users across 35 regions in the world, ensuring minimal laten
本記事は虎の穴ラボAdvent Calendar 2022-Qiita、Deno Advent Calendar 2022の15日目の記事です。 14日目は虎の穴ラボ デザインチーム による「デザインチームが自ら企画&開発に挑戦?!クリエイター向け新サービス「デジタルサインカード」をつくってみた」が投稿されました。 皆さん、こんにちは。 先日一目惚れしたので、約15年ぶりに箱でLEGOを買いました。おっくんです。 今回は、Deno 向け Web フレームワーク Freshを基盤に、Cloudflare Images と 虎の穴ラボから公開している画像ビューア― のOSS Tora Viewer を使って簡単な画像投稿サイトを作ります。 動いているものは次のようになります。 この記事で取り扱うのは、大きくは3つの機能です。 Fresh で画像アップロードする 画像一覧表示と、Tora Vie
Ultra is an all ESM React/Deno framework that is built for Suspense Server Side Rendering. Write ESM, ship ESM, simplify your life. The Quest for Zero-Legacy You awake... the year is {new Date().getFullYear()}... ECMAScript modules have been standardised and supported in all relevant browsers... The potential for elegant code, powerful experiences, and browser-native superpowers knows no bounds...
I'm not part of the Deno team, but can give my view on a few things. FFI Deno's FFI has recently been changing quite a bit, and moving to a more direct binding. The numbers used on Bun's website (around 350 ns per FFI call) seem in line with what the FFI performance was after my semi-recent addition of FFI callbacks, during which I also ended up adding a lot of JS-side overhead. A later PR by the
Velociraptor brings package.json-style scripts to Deno, with many added features: Composite scripts Write serial and parallel scripts directly in your config files
dnt — the easiest way to publish a hybrid npm module for ESM and CommonJS Though browsers and JavaScript have come a long way, writing and publishing JavaScript modules is still painful. To maximize adoption, your module should support CommonJS and ESM, JavaScript with TypeScript declarations, and work in Deno, Node.js, and web browsers. To achieve that, many resort to complex release pipelines or
1.4.0 / 2020.09.13 feat: Implement WebSocket API (#7051, #7437) feat(console): print proxy details (#7139) feat(console): support CSS styling with "%c" (#7357) feat(core): Add JSON ops (#7336) feat(fmt, lint): show number of checked files (#7312) feat(info): Dependency count and sizes (#6786, #7439) feat(install): bundle before installation (#5276) feat(op_crates/web): Add all single byte encoding
deno.land/x is a hosting service for Deno scripts. It caches releases of open-source modules stored on GitHub and serves them at an easy-to-remember domain. Deno can import modules from any location on the web, like GitHub, a personal webserver, or a CDN like esm.sh, Skypack, jspm.io or jsDelivr. To make it easier to consume third party modules Deno provides some built in tooling like deno info an
Today we are releasing Deno 1.9.0. This release contains many new features, performance improvements, and bug fixes: Native HTTP/2 web server: a fast, correct, fully featured HTTP server in Deno Faster calls into Rust with serde_v8: 98% improvement to our baseline op overhead Blob URL support & improvements to fetch: new web compatibility features Import completions in the LSP: local, remote, and
皆さんこんにちは、虎の穴ラボのおっくんです。 2021年 12月 2日 (木) に Deno についてのLT会 『toranoana.deno #3』を開催しました。 yumenosora.connpass.com 目的意識 開催にあたっての目的意識としては、次のようなものがありました。 虎の穴ラボにDenoが好きな人がいる =>もっとDenoについて知りたい =>勉強したことを共有したい 虎の穴ラボでDenoを使っていきたい =>社内外に向けたアピール 社外の人の話を聞きたい =>虎の穴ラボ社内では知見に限界がある 開催概要 時間 内容 発表者 19:30〜19:35 虎の穴ラボについて 虎の穴ラボ 奥谷 19:35〜19:50 denoのffiでmysql接続 虎の穴ラボ 藤原 19:50〜20:05 Denoを開発するときにめっちゃ効率上げるコマンドを作った カワリミ人形 LT レポ
はじめに この記事はDeno Advent Calendar 2019 - Qiita 19日目の記事です。 アドカレと一緒にTSConfに行ってきた話もやってしまおうという悪魔的発想です。 TL; DR 技術書典で出したDenobook2を英訳したよ TSConf 2019に行ったよ Denoの作者のRyanさんに手渡ししたよ Why did I translate Denobook2 to English? すべての元凶です。ご査収ください。 Will English version be available?— Deno News (@DenoNews) 2019年9月11日 これがあってから、その日のうちにdeno-jaの技術書典2019秋向けチャンネルで英訳について相談してました。 最初は割とチキっていたのですが、Bartekさん(DenoNewsの中の人)からDMが来て、「De
皆さんこんにちは。急に寒くなってきましたね。おっくんです。 去る 2021 年 10 月 13 日に Deno 1.15 がリリースされました。 今回も、リリースノートを参考に 変更事項の気になるところを紹介したいと思います。 実行環境 Docker イメージ denoland/deno:centos(確認時点では Deno 1.15.1 でした)を使用します。 Deno 1.15 Deno 1.15 での変更事項をDeno 1.15 リリースノートを元に確認します。 FFI が改善されました Deno 1.13 でプラグインが廃止され、入れ替わりに導入された FFI API が改善されました。 今回のリリースで、「ノンブロッキングコール」と、「バッファ引数」の機能が追加されます。 ノンブロッキングコール ノンブロッキングで関数を呼び出すには、Deno.dlopen のオプションとして n
Deno Subhosting: the easiest and most secure way to run untrusted multi-tenant code Today, we’re excited to launch a self-serve version of Deno Subhosting – a platform that enables companies to securely run untrusted JavaScript code written by their users. Getting to this point was a long journey that began almost two years ago with a partnership to power Netlify’s edge functions product. Since th
There are APIs that are built into the Deno CLI that are beyond those that are built-ins for JavaScript. They are a combination of web platform APIs Deno has implemented and Deno specific APIs. We try to keep non-standard, Deno specific, APIs in the Deno namespace. We have grouped the APIs into the following functional categories.
Deno (ディーノ) Advent Calendar 13日目の記事です. 今日は Deno で AWS Lambda 関数を実装するためのツール deno-lambda の使い方を紹介します. deno-lambda は @hayd Andy Hayden さんが作った, Deno で Lambda 関数を実装するためのツールです. 手順 deno-lambda のリリースページ に行き, 最新バージョンの deno-lambda-layer.zip をダウンロードしてください. AWS Console の Lambda のページに行き Layers タブを選択し, Layer の作成選んでください. 任意の名前を入力し(例. deno-lambda-layer), ダウンロードした deno-lambda-layer.zip をアップロードしてください. アップロード完了したら作成ボ
Deno (ディーノ) Advent Calendar 8日目の記事です. 今日は Deno にコントリビュートするためのヒントを紹介します. Deno 本体をビルドする Deno にコントリビュートするためには, まずは Deno をビルドしてみましょう. Deno 本体をビルドするためには以下のツールが必要になります. Rust 1.39 Python 2.7 Python 3 はダメなので必ず2系をインストールしてください (ただし来年以降は3になる可能性があります) ビルドには必要ありませんが lint やフォーマッティングのために更に以下が必要になります. Node.js 12 Deno をビルドする Deno のリポジトリは以下のコマンドで clone できます.
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く