並び順

ブックマーク数

期間指定

  • から
  • まで

401 - 440 件 / 455件

新着順 人気順

Denoの検索結果401 - 440 件 / 455件

  • deno-lambda を使ってみる - Qiita

    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-lambda を使ってみる - Qiita
    • Deno にコントリビュートする (1) - Qiita

      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 できます.

        Deno にコントリビュートする (1) - Qiita
      • Deno標準ライブラリでServer-Sent Events - Qiita

        この記事はDeno Advent Calendar 2021とは全く関係ない記事です。 Denoの標準ライブラリを使って、Server-Sent Eventsを送信するサーバーを書いていきたいと思います。 Server-Sent Eventsとは? Server-Sent Events(SSE)とは、サーバーからクライアントへイベントを受け渡しできる接続方法のことです。WebSocketと似ていますが、WeSocketが双方向通信なのに対し、SSEはデータがサーバーからクライアントへの1方向しか送信できないという違いがあります。 Deno標準ライブラリのサーバーでServer-Sent Eventsを送信する SSEを送信するにはReadableStreamを使用します。 import { serve } from "https://deno.land/std@0.117.0/http/m

          Deno標準ライブラリでServer-Sent Events - Qiita
        • Deno - Wikipedia

          Denoは、V8 JavaScriptエンジン及びRustプログラミング言語に基づいた、JavaScript及びTypeScriptのランタイム環境である。Node.jsの作者であるライアン・ダールによって作成され、セキュリティと生産性に焦点を当てている[3]。ライアン・ダールが2018年に行った講演「Node.jsに関する10の反省点」で発表された[4]。Denoは単一の実行ファイル内でランタイム環境とパッケージ管理システムの両方の役割を明示的に引き受けるので、別途パッケージ管理システムを必要としない[5][6]。 歴史[編集] DenoはJSConf EU 2018でのライアン・ダールによる講演「Node.jsに関する10の反省点」で発表された[4]。ライアン・ダールはこの講演において、後悔しているNode.jsの初期設計での決定について言及し、以下の点を挙げている。[7] APIの設

            Deno - Wikipedia
          • Denoでサーバーを建てる方法 2021年11月版

            Denoでサーバーを建てる方法が以前とは変化しています。 本記事では、Deno 1.16 / std 0.114環境での手法を解説します。 記事執筆時点での結論:std/httpのserve まずは結論から。 現在、推奨されているのはstd/httpのserveメソッドを使う方法です。 0.114.0時点でのstd/httpのREADMEには説明が追加されていないのですが、JSDocや、Deno 1.16のリリース記事ではこのserveメソッドが使われており、最近まで推奨されていたlistenAndServeメソッドは非推奨となっています。 サンプルを作ってみました。 serveの第一引数はHandler: (request: Request, connInfo: ConnInfo) => Response | Promise<Response>、第二引数はServeInit: { add

              Denoでサーバーを建てる方法 2021年11月版
            • GitHub - Tak-Iwamoto/ptera: Ptera is DateTime library for Deno

              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                GitHub - Tak-Iwamoto/ptera: Ptera is DateTime library for Deno
              • GitHub - uki00a/carol: A Deno port of carlo

                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                  GitHub - uki00a/carol: A Deno port of carlo
                • Deno 1.15 Release Notes

                  If you are installing Deno for the first time, you can use one of the methods listed below: # Using Shell (macOS and Linux): curl -fsSL https://deno.land/x/install/install.sh | sh # Using PowerShell (Windows): iwr https://deno.land/x/install/install.ps1 -useb | iex # Using Homebrew (macOS): brew install deno # Using Scoop (Windows): scoop install deno # Using Chocolatey (Windows): choco install de

                    Deno 1.15 Release Notes
                  • 🌬 Vento

                    Vento is the Galician word for wind but also a new template engine for Deno. It's inspired by other engines, such as Nunjucks, Liquid, Eta, and Mustache. Why another template engine? All these template engines mentioned above are great but they also have some drawbacks and none of them meets all my requirements, so I've created Vento. Nunjucks It's not well maintained. The last version was release

                    • GitHub - webview/webview_deno: 🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs

                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                        GitHub - webview/webview_deno: 🌐 Deno bindings for webview, a tiny library for creating web-based desktop GUIs
                      • Deno KV internals: building a database for the modern web

                        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

                          Deno KV internals: building a database for the modern web
                        • VSCodeでDeno開発する前の準備

                          Node.jsの後継としてじわじわ勢力拡大中(?)のDenoですが、VSCodeで作業する際に少し準備が必要です。でもこの作業って、VSCodeを結構使い込んでないとわからないよな… と思ったので、ついでにまとめときました。 拡張機能インストール VSCodeで新たな言語, FW等に手を出す時のルーティーン。 拡張機能の名前はそのまま「Deno」。 インストール。これで基本的な補完とかはいけ…… ん? エラー出とるやんけ。Deno的には正しい記述なのに。 これは入れただけじゃダメなヤツね。設定で有効にしないといけないパターン。 有効にする こういう時って人によって行動が分かれると思うんですが とりあえずググる人 公式のドキュメントをきちんと読む人 公式のドキュメントを適当に読む人 自分で設定を漁りにいく人 私は 3 からの 4 で困ったら 2 みたいなタイプなので、拡張機能の説明欄をチラ見

                            VSCodeでDeno開発する前の準備
                          • Denoのフロントエンドフレームワークの比較 - uki00a

                            Denoで実装されたフレームワークとしてはFresh/Aleph.js/Ultraあたりが積極的に開発が進められており、勢いがありそうな印象です

                              Denoのフロントエンドフレームワークの比較 - uki00a
                            • Announcing Workers for Platforms: making every application on the Internet more programmable

                              Announcing Workers for Platforms: making every application on the Internet more programmable05/10/2022 This post is also available in 简体中文, 日本語, Deutsch, Français, Español. As a business, whether a startup or Fortune 500 company, your number one priority is to make your customers happy and successful with your product. To your customers, however, success and happiness sometimes seems to be just on

                                Announcing Workers for Platforms: making every application on the Internet more programmable
                              • Deno FreshアプリケーションのDB接続にPrisma Clientを使う

                                でPrismaとDenoの人たちによって着々と進められていたプロジェクトが成就しついにDeno DeployでPrismaが使えるようになったのでFreshから試してみた。 環境 Deno Deployにデプロイする Prisma Data PlatformからDBサーバーに到達できる必要がある DBサーバーにはSupabase CloudのPostgreSQLを使う Prisma Data Platform PrismaのData Proxyという機能を利用するためのオフィシャルな方法。 Prisma ClientにDATABASE_URL="prisma://aws-us-east-1.prisma-data.com/?api_key=XXX"のような接続先を設定するとHTTP越しにクエリが実行される。 Denoにはpostgresドライバ がありDeno Deployでも利用できるが

                                  Deno FreshアプリケーションのDB接続にPrisma Clientを使う
                                • The State of Web Frameworks on Deno

                                  Recently, we announced support for npm: specifiers on Deno Deploy. This made Deploy the first edge JavaScript runtime built on isolates to support the more than 2 million modules on npm. While Deno is intentionally not designed as a drop-in replacement for Node.js, our ongoing work to provide backward compatibility with modules designed for Node has unlocked new ways to use Deno to build web appli

                                    The State of Web Frameworks on Deno
                                  • DenoでサクッとWebアプリケーションを立ち上げる - Qiita

                                    こちらはDeno Advent Calendar一日目の記事です。 Denoが登場して早一年半ともなりますが、まだ触ったことの無い方も多いのではないでしょうか? 最初の一歩で何を作るか、と言うのはいつも悩ましいですが、 やっぱりここはみんな大好きWebアプリケーションかな?と言う事で、簡単なWebアプリケーションをDenoで作って動かす方法を紹介します。 今回使うmodule dinatra: Small web app framework for Deno dejs: EJS engine for Deno の2つを使います。 ※なお、dinatraは内部的にdeno_stdのhttp serverを使用していますが、まだ不安定なため、より安定したWebサーバーの構築をされたい方にはkeroxpさんのservestをオススメします。 dinatraを使ったWebアプリの最小構成 まず、D

                                      DenoでサクッとWebアプリケーションを立ち上げる - Qiita
                                    • Packup

                                      Introduction Packup is web application bundler for Deno, inspired by parcel. Packup connects your assets such as html, css, javascript and bundles them into static files. It also serves them dynamically when in development. Features 📦 Bundles web application like Parcel. ✨ Supports TypeScript out of the box. 🦕 Deno-compatible ES Modules resolution. 💨 Fast build with esbuild-wasm bundler. 🔩 Dev

                                      • GitHub - denoland/rusty_v8: Rust bindings for the V8 JavaScript engine

                                        Provide high quality Rust bindings to V8's C++ API. The API should match the original API as closely as possible. Do not introduce additional call overhead. (For example, previous attempts at Rust V8 bindings forced the use of Persistent handles.) Do not rely on a binary libv8.a built outside of cargo. V8 is a very large project (over 600,000 lines of C++) which often takes 30 minutes to compile.

                                          GitHub - denoland/rusty_v8: Rust bindings for the V8 JavaScript engine
                                        • "deno compile" into executable · Issue #986 · denoland/deno

                                          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                            "deno compile" into executable · Issue #986 · denoland/deno
                                          • Deno cheat sheet

                                            Moved to cheatsheet.deno.dev

                                            • denoのhttp serverが新しくなりました - keroxpのScrapbox

                                              「deno? どうせまだ動か……なんだコイツ!」となったのが、httpのREADMEにあったsampleだった

                                                denoのhttp serverが新しくなりました - keroxpのScrapbox
                                              • GitHub - vim-denops/denops.vim: 🐜 An ecosystem of Vim/Neovim which allows developers to write cross-platform plugins in Deno

                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                  GitHub - vim-denops/denops.vim: 🐜 An ecosystem of Vim/Neovim which allows developers to write cross-platform plugins in Deno
                                                • GitHub - denosaurs/denon: 👀 Monitor any changes in your Deno application and automatically restart.

                                                  You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                    GitHub - denosaurs/denon: 👀 Monitor any changes in your Deno application and automatically restart.
                                                  • How We Made the Deno Language Server Ten Times Faster

                                                    Programming should be simple, which is why we built Deno to be “batteries included” with all-in-one tooling, native TypeScript support, and web standards APIs. (You can get started with TypeScript just by naming a file with a .ts extension.) One major way Deno boosts productivity is through our language server, which offers auto-completion, tooltips, linting, code formatting, and more. Recently, a

                                                      How We Made the Deno Language Server Ten Times Faster
                                                    • 進化するDeno in 2022 ~TechFeed Experts Night#8講演より | gihyo.jp

                                                      本記事は、2022年11月に開催された「TechFeed Experts Night#8 ~ JavaScriptランタイム戦争最前線」のセッション書き起こし記事「進化するDeno in 2022 - npm互換性、パフォーマンス、開発者体験の向上など」を転載したものです。オリジナルはTechFeedをご覧ください。 よろしくお願いします。Denoの最近の動向について話していきます。 さっそくですが、2022年6月にDenoは資金調達をしました。2100万ドル(約29億3600万円)という、この界隈ではかなり大きめな調達だったのでざわざわしたりしました。 7月にはBunというけっこう有力なライバル企業が登場してきて、Deno社内はざわざわしたりしていました。 そして、8月にnpm互換性をリリースして、これはかなり反響が大きかったです。 10月には「Deno Offsite」というイベントが

                                                        進化するDeno in 2022 ~TechFeed Experts Night#8講演より | gihyo.jp
                                                      • denoはいいぞ2019 - keroxpのScrapbox

                                                        入れ方 https://deno.land https://deno.land/typedoc/index.html code:bash $ curl -fsSL https://deno.land/x/install/install.sh | sh code:bashrc export PATH=~/.deno/bin:${PATH} 確認 code:bash $ deno -v deno: 0

                                                          denoはいいぞ2019 - keroxpのScrapbox
                                                        • How to publish Deno modules to NPM

                                                          I wrote oak, a full featured HTTP middleware/router framework. It is the most used HTTP framework for Deno and powers many sites; for example doc.deno.land. A lot of people want to use Deno as their primary development platform but also want to be able to share code with-in the Node ecosystem. This is easily possible using dnt. In this article, I will show you how I published Oak to NPM module in

                                                          • Netlify Edge Functions on Deno Deploy

                                                            We have partnered with Netlify to build Netlify Edge Functions. Netlify Edge Functions allows you to deploy code globally to the edge in seconds, allowing you to personalize web content, customize user authentication, among other use cases. It’s built on our Deno Deploy infrastructure that handles the complexities of global routing, scaling, and secure code execution. It lets you spend more time d

                                                              Netlify Edge Functions on Deno Deploy
                                                            • 【Deno 1.20〜】公式タスクランナー、`deno task`コマンドの使い方 - Qiita

                                                              タスクランナーとは、コマンドに対してショートカットを設定しておくことができる機能です。サーバー立ち上げやビルド用のコマンドをあらかじめタスクランナーに設定しておくことで、開発体験を向上することができます。Node.jsではnpm scriptsが一般的に使われています。 Deno1.20では、タスクランナーがDeno CLI本体に入りました。基本的にはnpm scriptsと同じ機能なのですが、デフォルトでクロスプラットフォーム対応になっているなど、違う所もあります。 deno task コマンドの使い方 タスクの設定 まず、deno.json(c)でタスクの内容を設定します。 ※deno.json(c)の構文についてはこちらの記事を参照してください。 { "tasks": { // "<タスク名>": "<タスク内容>" の形で定義する // deno task hello "hello

                                                                【Deno 1.20〜】公式タスクランナー、`deno task`コマンドの使い方 - Qiita
                                                              • GitHub - justjavac/dvm: Deno Version Manager - Easy way to manage multiple active deno versions.

                                                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                                                  GitHub - justjavac/dvm: Deno Version Manager - Easy way to manage multiple active deno versions.
                                                                • Deno 1.29: Custom npm registry support

                                                                  # MacOS and Linux curl -fsSL https://deno.land/x/install/install.sh | sh # Windows iwr https://deno.land/x/install/install.ps1 -useb | iex Click here for more installation options. npm compatibility improvementsThis release features several npm compatibility improvements and 30+ bug fixes since 1.28.0. Custom registry support via environment variableDeno now respects the NPM_CONFIG_REGISTRY enviro

                                                                    Deno 1.29: Custom npm registry support
                                                                  • Denoでnpmモジュールを実行してみよう - Zenn CLI編

                                                                    Deno Advent Calendar 2023 1日目の記事です。 動機 僕はGitHub上のプライベートリポジトリでZennの記事を管理しており、記事のscaffold作成やプレビューなどはZenn CLIを利用しています。Zenn CLIはNode.js製なので当然Node.jsが必要です。ドキュメントに書いてある通り、以下のようにすればCLIのインストールおよびディレクトリ内のセットアップが完了します。とても簡単です。 今回Advent Calendarの記事を書くにあたり、久しぶりにリポジトリを開き、以前と同じように npx zenn new:article で記事のscaffoldを作成しようとしましたが、ここでふと、「Denoでも普通に動くのでは?」と疑問に思いました。 最近のDenoはNode.js互換性に非常に注力しており、バージョンアップのたびに互換性が向上しています

                                                                      Denoでnpmモジュールを実行してみよう - Zenn CLI編
                                                                    • Deno 1.35: A fast and convenient way to build web servers

                                                                      Deno’s vision is to make programming as simple as possible, which is why the runtime ships with a robust toolchain, native TypeScript support, and web standard APIs, so you can skip configuration and learning a new set of APIs and be productive immediately. Today’s minor release brings us closer to that vision: a fast and convenient way to build web servers, Deno.serve(), is now stable improving n

                                                                        Deno 1.35: A fast and convenient way to build web servers
                                                                      • DenoのForeign function interface(FFI)でMySQLに接続する - 虎の穴開発室ブログ

                                                                        ※この記事は予約投稿です。 こんにちは。虎の穴ラボのY.Fです。 この記事は、虎の穴ラボ Advent Calendar 2021- Qiita4日目の記事になります。 3日目は 【Tailwind CSS 3.0 alpha1〜2の注目の新機能をご紹介! 】です。ぜひ読んでみてください。 5日目はY.Iさんの【 anime.js + SVG を使用して画像をヌルヌル動かす!】です。お楽しみに! 本記事ではDeno1.13あたりから導入されたForeign function interface(以下FFI)機能を使ってMySQLに接続するまでに行ったことや、どのように実装してみたかを紹介していきたいと思います。 はじめに Denoには1.13リリース前から Deno.openPlugin という、Rustのライブラリを呼び出せるAPIがありました。ただ、技術的な課題がいくつかあったとのこと

                                                                          DenoのForeign function interface(FFI)でMySQLに接続する - 虎の穴開発室ブログ
                                                                        • Fresh 1.6: Tailwind CSS plugin, simplified typings and more

                                                                          Fresh 1.6 at a glance 🌊 First class Tailwind CSS plugin We’re moving from Twind to Tailwind CSS. It features better Editor integrations and moves the CSS generation out of the rendering path. 📨 Partials with forms Partials are now supported on Form elements. 🧯 Partials on error pages Partials can now be used to render error pages. 🕵️‍♀️ Closable error overlay The custom error overlay that is s

                                                                            Fresh 1.6: Tailwind CSS plugin, simplified typings and more
                                                                          • Deno 1.20 Release Notes

                                                                            If you are installing Deno for the first time, you can use one of the methods listed below: # Using Shell (macOS and Linux): curl -fsSL https://deno.land/x/install/install.sh | sh # Using PowerShell (Windows): iwr https://deno.land/x/install/install.ps1 -useb | iex # Using Homebrew (macOS): brew install deno # Using Scoop (Windows): scoop install deno # Using Chocolatey (Windows): choco install de

                                                                              Deno 1.20 Release Notes
                                                                            • Deno 1.13 Release Notes

                                                                              If you are installing Deno for the first time, you can use one of the methods listed below: # Using Shell (macOS and Linux): curl -fsSL https://deno.land/x/install/install.sh | sh # Using PowerShell (Windows): iwr https://deno.land/x/install/install.ps1 -useb | iex # Using Homebrew (macOS): brew install deno # Using Scoop (Windows): scoop install deno # Using Chocolatey (Windows): choco install de

                                                                                Deno 1.13 Release Notes
                                                                              • Aleph.js

                                                                                Get Started! Welcome to use Aleph.js! If you are new to Aleph.js you should check out the About page. Usage Create a new app: deno run -A -r https://alephjs.org/init.ts cd my-app Start the app in development mode: deno task dev Start the app in production mode: deno task start Optimize the application (bundling, ssg, etc.): deno task opt

                                                                                  Aleph.js
                                                                                • Deno 1.36: More flexible security and expanded testing APIs

                                                                                  Read on to learn more about the latest features and fixes available in Deno 1.36! Deno 1.36 at a glance 🔐 More flexible security options for Deno programs Secure your programs at runtime with --deny-* flags, which enable you to configure deny lists for domains, file paths, and other resources to which access should be restricted. 🧪 Expanded options for testing and benchmarking New test result fo

                                                                                    Deno 1.36: More flexible security and expanded testing APIs