並び順

ブックマーク数

期間指定

  • から
  • まで

681 - 720 件 / 2394件

新着順 人気順

node.jsの検索結果681 - 720 件 / 2394件

  • Will Bun JavaScript Take Node's Crown

    Is it as fast as people are saying? How stable is it? Is it really better than Node? And can I use it with continuous integration? What is Bun? Bun is the newest addition to the JavaScript family. It has been making waves that rival those made by Deno when it came out in 2018. Bun sits in the space between Node and Deno. Bun, like Deno, supports TypeScript out of the box and offers developer-frien

      Will Bun JavaScript Take Node's Crown
    • Next.jsでCloudscape Design Systemを試してみた | DevelopersIO

      しばたです。 前の記事でNext.jsを試す環境を作ったので本記事ではCloudscapeを実際に試してみます。 Cloudscape Design Systemとは? Cloudscape Design SystemはAWSが作成しオープンソースで公開しているWEBデザインシステムです。 もともとAWSが内部向けに作成し改善していたものが今年の7月に一般公開されました。 雑に言ってしまえば「マネジメントコンソール風のUIをつくれるやつ」なんですが、デザインシステムの名の通りUIコンポーネント以外にデザインパターンやデモも公開されています。 注意事項 本記事ではこちらの手順に従い最初の一歩を試してみようと思っていました。 Using Cloudscape components ただ、手順をよく読んでみると最後の最後に、 Bundling with Next.js (optional) Th

        Next.jsでCloudscape Design Systemを試してみた | DevelopersIO
      • 面倒な飛行機の料金をSlackからコマンド検索できるように「Skyscanner API」を使ってみた! – Rakuten RapidAPI Blog

        どうも、まさとらん(@0310lan)です! 今回は、普段からよく利用しているSlackを使って飛行機の料金(最安値)を手軽にチェックできるツールを作成していきましょう! いちいちブラウザを起動してWebサイトを訪問する必要がなく、Slackから簡単なコマンドを入力するだけで最安値を即座に確認できるようになるので便利です。カスタマイズ性も非常に高く、自分の好きなように情報を制御できるようになります。 飛行機の料金を調べるのが面倒だと感じている人は特にオススメなので、ぜひ参考にしてみてください! ■どうやって飛行機のチケット料金を調べるのか? 今回の重要なポイントは、飛行機の料金をどのように取得するか? ということになります。 また、個人的にはできるだけ以下の要素も含めたい… さまざまな航空会社から比較・検討したい 調べたときの最安値を知りたい 国内だけでなく海外便の料金も調べたい 簡単にプ

          面倒な飛行機の料金をSlackからコマンド検索できるように「Skyscanner API」を使ってみた! – Rakuten RapidAPI Blog
        • Prettier の TypeScript 3.7 で追加される新しい構文のサポートの現状と今後 - 鈴木颯介のブログ

          TypeScript 3.7 の beta 版が公開されてから 3 週間ほど立ちました。この 3 週間、Twitter や GitHub の Issue 上で、Prettier が TS 3.7 beta の新しい構文をサポートしていないことについて言及しているのを目にすることが多々あったので、状況を解説してみます。 まず、TypeScript 3.7 で追加される新しい構文は(おそらく)、Optional Chaining、Nullish Coalescing、Assertion Functions、あと class の declare field の 4 種類があります。(それぞれの詳細は https://devblogs.microsoft.com/typescript/announcing-typescript-3-7-beta/ と https://github.com/micr

            Prettier の TypeScript 3.7 で追加される新しい構文のサポートの現状と今後 - 鈴木颯介のブログ
          • Dockerfile に入門して Node.js アプリを作ってみる - 30歳からのプログラミング

            Docker への入門の一環として、自分で Dockerfile を作成し、それを使って Node.js アプリを Docker Container で動かしてみる。 Hello World Dockerfile を使うことで、既存の Docker Image を編集して新しい Docker Image を作ることができる。 具体的には、Dockerfileという名前のファイルにコマンドを記述していくことで、その内容に基づいた Docker Image を作成できるようになる。 例えば以下の Dockerfile では、FROMとCMDというコマンドを使っている。これらのコマンドの意味は後述する。 FROM node:16 CMD [ "echo", "Hello World" ] カレントディレクトリに上記のDockerfileがある状態で% docker build -t sample

              Dockerfile に入門して Node.js アプリを作ってみる - 30歳からのプログラミング
            • Node.js: The Documentary | An origin story

              Back in 2008, most people thought of JavaScript as just a client-side language. But when Google's V8 appeared, young developer Ryan Dahl made the connection between non-blocking servers, V8, and JavaScript. It was by combining these key elements that he was able to create the now hugely popular Node.js. What young Ryan Dahl probably didn't expect was how much forking drama would follow. Join us

                Node.js: The Documentary | An origin story
              • CDNエッジでJS/TS/WASMを実行できる「Vercel Edge Functions」正式リリース Node.jsサブセットを目指す

                この記事は新野淳一氏のブログ「Publickey」に掲載された「CDNエッジでJS/TS/WASMを実行できる「Vercel Edge Functions」正式リリース。Node.jsサブセットを目指す」(2022年12月26日掲載)を、ITmedia NEWS編集部で一部編集し、転載したものです。 Next.jsの開発元であり、Webアプリケーションのホスティングサービスなどを提供する米Vercelは、CDNエッジでJavaScript/TypeScript/WebAssemblyを実行できるサーバレス基盤「Vercel Edge Functions」の正式リリースを発表しました。 Vercel Edge FunctionsはMicroVMにChromeブラウザで採用されているJavaScriptエンジンのV8を組み込むことで、軽量かつ高速なJavaScript/TypeScript/W

                  CDNエッジでJS/TS/WASMを実行できる「Vercel Edge Functions」正式リリース Node.jsサブセットを目指す
                • フレームグラフを眺めて無駄な正規表現を消してPrettierのパフォーマンスをちょっとだけ改善する

                  最近、Kohta Ito さんのブログ記事 0 から始める Node.js パフォーマンスチューニング を読みました。Kohta Ito さんは、実践 Node.js 入門 という書籍を執筆されたことでも知られています。 このブログ記事の「framegraph 編」という節では、 Node.js でのフレームグラフの生成方法や見方が説明されています。私はフレームグラフというものを知ってはいましたが、それを見てパフォーマンスの改善に活かしたことはありませんでした。 ということで、Prettier のフレームグラフを眺めてみて、実際にちょっとだけパフォーマンスを改善してみました。この記事では、そのパフォーマンス改善について説明します。 フレームグラフを生成するツール 0x 0 から始める Node.js パフォーマンスチューニング では、フレームグラフを生成するためのツールとして 0x が紹介

                    フレームグラフを眺めて無駄な正規表現を消してPrettierのパフォーマンスをちょっとだけ改善する
                  • package.json の imports / exports フィールド - 別にしんどくないブログ

                    この記事は Node.js その2 Advent Calendar 2020 の 2 日目の記事です。投稿が大幅に遅れて申し訳ございません。 Node.js v15.3.0 から ES Modules が experimental から stable になりました 🎉 nodejs.org 今年はモジュール周りも大きく飛躍しました。個人的に仕事で探求していたこともあってモジュール周りを追うことが多かったです。 ES Modules を使って import できる npm パッケージも増えてきています。 そこで今回はモジュール関連で追加された package.json のフィールドについてまとめて紹介します。 以前会社のブログに書いた内容と重複する部分もありますが、そこでは紹介できなかった機能も紹介したいと思います。 blog.cybozu.io また、この記事の内容は Node.js の

                      package.json の imports / exports フィールド - 別にしんどくないブログ
                    • 「Node.js」に「npm」由来の脆弱性、修正版のリリースを予告/本番環境で「npm」を実行しないように呼び掛け

                        「Node.js」に「npm」由来の脆弱性、修正版のリリースを予告/本番環境で「npm」を実行しないように呼び掛け
                      • Open source maintainer pulls the plug on npm packages colors and faker, now what? | Snyk

                        On January 8, 2022, the open source maintainer of the wildly popular npm package colors, published colors@1.4.1 and colors@1.4.44-liberty-2 in which they intentionally introduced an offending commit that adds an infinite loop to the source code. The infinite loop is triggered and executed immediately upon initialization of the package’s source code, and would result in a Denial of Service (DoS) to

                          Open source maintainer pulls the plug on npm packages colors and faker, now what? | Snyk
                        • 次のLTS版となる「Node.js 22」正式リリース。WebAssembly GCがデフォルトで利用可能に

                          次のLTS版となる「Node.js 22」正式リリース。WebAssembly GCがデフォルトで利用可能に JavaScriptランタイム「Node.js」の最新バージョンとなる「Node.js 22」正式版がリリースされました。 Node.jsは偶数バージョンがリリースされてから6カ月の後に、30カ月の長期サポート期間(LTS:Long Term Support)に入ります。Node.js 22も、6カ月後の2024年10月にLTSとなる予定です。 Node.js 22 is here Featuring: require()ing ESM graphs, WebSocket client, updates of the V8 JavaScript engine, and more. Big thank you to @_rafaelgss and @satanacchio for t

                            次のLTS版となる「Node.js 22」正式リリース。WebAssembly GCがデフォルトで利用可能に
                          • JavaScript Primer v6.0.0リリース: ES2024の対応とNode.jsのユースケースを刷新

                            JavaScript Primer v6.0.0をリリースしました 🎉 JavaScript Primer v6.0.0では、ECMAScript 2024の対応とNode.jsのユースケースを新たに増えたnode:utilのparseArgs関数やnode:testを使うように書き直しています。 JavaScript Primer Sponsors JavaScript Primer(jsprimer)では、Open Collectiveを通じてプロジェクトの更新に関わる資金を募っています。 JavaScript Primer - Open Collective 今回のv6リリースにおいては、次の方々にご支援いただきました! 株式会社コクチョウさんは、Yearly Gold Sponsorとしてご支援いただいています。 ご支援ありがとうございます! JavaScript Primerス

                              JavaScript Primer v6.0.0リリース: ES2024の対応とNode.jsのユースケースを刷新
                            • Cloudflare Workers Browser Rendering API を使ってスクリーンショットを R2 に保存する - Qiita

                              Cloudflare Workers Browser Rendering API を使ってスクリーンショットを R2 に保存するcloudflareCloudflareWorkers Workers Browser Rendering API とは Automate an isolated browser instance with just a few lines of code This is why we’re excited to announce a private beta of the Workers Browser Rendering API, improving the browser automation experience for developers. With browser automation, you can programmatically do any

                                Cloudflare Workers Browser Rendering API を使ってスクリーンショットを R2 に保存する - Qiita
                              • eslint-cjs-to-esm: CJSをESMへとマイグレーションするツールを書いた

                                最近、色々なライブラリをCommonJS(CJS)からECMAScript Module(ESM)へとマイグレーションしています。 その際に、ESMでは__dirnameやrequireなどCommonJS特有の機能は使えなくなっています。 また、TypeScriptやBabelなど多くのツールはCJSではimport時に拡張子はなくても大丈夫ですが、ESMの場合はimport時に拡張子が必要になります。 import url from "node:url"; - import { mdEscape } from "./mdEscape"; + import { mdEscape } from "./mdEscape.js"; // ESMでは相対パスに拡張子は省略できない + const __filename = url.fileURLToPath(import.meta.url); /

                                  eslint-cjs-to-esm: CJSをESMへとマイグレーションするツールを書いた
                                • Next.js で Node.js の API がいつ入ったのかわかる表を作る

                                  Node.js の API がいつ入ったのかを調べる必要が出てきた。 もちろんリリースノートを見たり、ドキュメントの History を見れば調べられることが多いが、普通に面倒くさいので、いい感じの表とかを自動で生成できたら嬉しい。 どうやら公式ドキュメントは Markdown で管理されており、Added の情報はその Markdown の中のコメントに YAML として書かれているらしい。 なので、Markdown の内容を fetch して Markdown としてパースし、その中の特定のコメントをさらに YAML としてパースすることでデータがとれそうだった。 そして、そのデータをビルド時にひっぱってくる静的サイトがあればいつでも見れて便利だし、ビルド時にしか fetch しないので比較的行儀も良い。 ということで作ったみた。 実際のサイトはこちら https://nodejs-a

                                    Next.js で Node.js の API がいつ入ったのかわかる表を作る
                                  • GitHub - timsuchanek/n-plus-one: How Prisma solves the N+1 Problem - Prisma Day 2020

                                    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 - timsuchanek/n-plus-one: How Prisma solves the N+1 Problem - Prisma Day 2020
                                    • Node.js compatibility for Cloudflare Workers – starting with Async Context Tracking, EventEmitter, Buffer, assert, and util

                                      Node.js compatibility for Cloudflare Workers – starting with Async Context Tracking, EventEmitter, Buffer, assert, and util2023-03-23 Over the coming months, Cloudflare Workers will start to roll out built-in compatibility with Node.js core APIs as part of an effort to support increased compatibility across JavaScript runtimes. We are happy to announce today that the first of these Node.js APIs –

                                        Node.js compatibility for Cloudflare Workers – starting with Async Context Tracking, EventEmitter, Buffer, assert, and util
                                      • GitHub - vercel/nft: Node.js dependency tracing utility

                                        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 - vercel/nft: Node.js dependency tracing utility
                                        • npm Blog Archive: npm v7 Series - Beta Release! And: SemVer-Major Changes in npm v7

                                          The npm blog has been discontinued. Updates from the npm team are now published on the GitHub Blog and the GitHub Changelog. << Why keep package-lock.json? A new beta version of npm appears! tl;dr - Run npm i -g npm@next-7 right now, and tell us about any problems you encounter with it. This is a big one, you’re going to want to check it out. As with any beta software, it’s likely to still have a

                                            npm Blog Archive: npm v7 Series - Beta Release! And: SemVer-Major Changes in npm v7
                                          • Sass: Node Sass is end-of-life

                                            The time has finally come to retire Node Sass. This Node.js wrapper for LibSass was the first official Sass compiler available in the JavaScript ecosystem and was a huge part of Sass growing beyond the scope of the Ruby community where it originated, but it hasn't received a new release in a year and a half and the most recent set of maintainers no longer have the bandwidth to continue updating it

                                            • Wasp

                                              app todoApp { title: "ToDo App", // visible in the browser tab auth: { // full-stack auth out-of-the-box userEntity: User, methods: { google: {}, gitHub: {}, email: {...} } } } route RootRoute { path: "/", to: MainPage } page MainPage { authRequired: true, // Limit access to logged in users. component: import Main from "@client/Main.tsx" // Your React code. } query getTasks { fn: import { getTasks

                                                Wasp
                                              • Announcing Volta 1.0.0 | Volta

                                                The Volta team is thrilled to announce that Volta 1.0.0 is now available! Volta is a fast, reliable utility for declaring your JavaScript Toolchains as Code. In much the same way that Infrastructure as Code frees teams from manually managing their server infrastructure, Volta takes the hassle out of installing and coordinating JavaScript tools—such as Node, package managers, and package binaries—s

                                                • Replit — Why We Switched From Webpack To Vite

                                                  At Replit, our mission is to make programming more accessible. We provide people with free compute in the cloud so that they can build apps on any device. Among the most popular ways to create apps on the web today is React. Historically, however, React tooling has been slow on Replit. While the JavaScript ecosystem has produced excellent tools for professional developers, many of the most popular

                                                    Replit — Why We Switched From Webpack To Vite
                                                  • GitHub - tinyhttp/tinyhttp: 🦄 0-legacy, tiny & fast web framework as a replacement of Express

                                                    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 - tinyhttp/tinyhttp: 🦄 0-legacy, tiny & fast web framework as a replacement of Express
                                                    • Node.js の --require/--import オプションについて - mizdra's blog

                                                      Node.js には --require=module と --import=module というオプションがあります。このオプションを使うと、エントリポイントとなるプログラムよりも前に、任意のモジュールを実行できます。 例えば以下のようなコマンドを実行すると、Node.js ランタイムはまず最初に preload.cjs を実行し、それから main.mjs を実行できます。 node --require ./preload.cjs main.mjs エントリポイントよりも前に、何かしらの処理を実行したい時に使うことを想定しています。 --require と --import の違い --import も --require と同じように、モジュールをプリロードするためのオプションです。両者の違いはプリロードするモジュールの読み込み方です。 --require は require(...

                                                        Node.js の --require/--import オプションについて - mizdra's blog
                                                      • BatBadBut: You can't securely execute commands on Windows

                                                        BatBadBut: You can't securely execute commands on Windows Posted on April 9, 2024 • 10 minutes • 2120 words Table of contents Introduction TL;DR CVSS Score Technical Details Root Cause Wrapping CreateProcess Parsing rule of cmd.exe Mitigation Escaping double quotes? As a Developer As a User As a Maintainer of the runtime Conclusion Appendix Appendix A: Flowchart to determine if your applications a

                                                          BatBadBut: You can't securely execute commands on Windows
                                                        • GitHub - capricorn86/happy-dom: A JavaScript implementation of a web browser without its graphical user interface

                                                          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 - capricorn86/happy-dom: A JavaScript implementation of a web browser without its graphical user interface
                                                          • Prototype Pollution in Kibana

                                                            Working at Securitum Pentester / Researcher / Web Security Instructor Bug bounty hunter 0x08 place at Google's 0x0A Loving client-side security Speaking XSS Prototype-based inheritance What's prototype pollution anyway? DEMO: RCE via prototype pollution in Kibana Lessons learnt

                                                              Prototype Pollution in Kibana
                                                            • Cloudflare に Node.js の AsyncLocalStorage がサポートされたので試してみた | DevelopersIO

                                                              先日、 Cloudflare WorkesでNods.js の一部のAPIが対応されました。 その中で AsyncLocalStorage も対応されていたので Cloudflare Workers で実際に試して見ました 西田@CX事業本部です 先日、 Cloudflare WorkesでNods.js の一部のAPIが対応 されました。 その中で AsyncLocalStorage も対応されていたので Cloudflare Workers で実際に試して見ました AsyncLocalStorage について AsyncLocalStorage は Node.js が提供している非同期処理中に同時にアクセスしてもメモリセーフに使えるデータストアです。同時にストアにアクセスする可能性があっても安全に使えるグローバルなオブジェクトのように使えます。他の言語でいうところの Thread Lo

                                                                Cloudflare に Node.js の AsyncLocalStorage がサポートされたので試してみた | DevelopersIO
                                                              • がんばらなくても C# で Single Page Web アプリケーションが書けてしまう「Blazor」とは

                                                                May 29~30, 2019 に開催された "de:code 2019" の Day1 EXPOシアターセッションで、Blazor について発表した際のスライド資料です。CC BY License、又は The Unlicense のデュアルライセンスで再利用可能です。 アニメーション付 PowerPoint 原ファイルは以下の URL から入手可能です。 https://1drv.ms/p/s!Ahj5X4eD4NFdgvpnYa4h1jR5JnFlmgRead less

                                                                  がんばらなくても C# で Single Page Web アプリケーションが書けてしまう「Blazor」とは
                                                                • GitHub - piscinajs/piscina: A fast, efficient Node.js Worker Thread Pool implementation

                                                                  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 - piscinajs/piscina: A fast, efficient Node.js Worker Thread Pool implementation
                                                                  • Hybrid npm packages (ESM and CommonJS)

                                                                    Warning: This blog post is outdated. It may contain incorrect information. Update 2019-11-22: ESM support in Node.js is not experimental, anymore. This post was updated to reflect that. Conditional exports are now explained. In this blog post, we look at npm packages that contain both ES modules and CommonJS modules. Required knowledge: How ES modules are supported natively on Node.js. You can rea

                                                                    • GitHub - nodejs/corepack: Zero-runtime-dependency package acting as bridge between Node projects and their package managers

                                                                      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 - nodejs/corepack: Zero-runtime-dependency package acting as bridge between Node projects and their package managers
                                                                      • Node.jsをv12からv16へアップデートした話

                                                                        はじめに メディアエンジン株式会社の田中です! 最近、フロントエンド開発で利用しているNode.jsをv12からv16へアップデートしたため、それについてお話しさせていただきます。 実施したこと まず、CircleCIで使用するDockerイメージのNode.jsバージョンをv16へ更新しました。 default: working_directory: ~/<project-name> docker: - image: circleci/node:12.22.0-stretch + image: circleci/node:16.13.1-buster

                                                                          Node.jsをv12からv16へアップデートした話
                                                                        • GitHub - lmammino/s3st: A command line utility that allows you to stream data from multiple S3 objects directly into your terminal

                                                                          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 - lmammino/s3st: A command line utility that allows you to stream data from multiple S3 objects directly into your terminal
                                                                          • Viteで爆速なフロントエンド開発環境を作る

                                                                            概要 Viteというビルドツールの紹介とReact + Typescript環境からの移行手順です。 導入したプロジェクトでは開発サーバの起動からページロードまで大体40秒くらいかかっていたものが、サーバは300ms程度で起動し(2回目以降)、ページロードまで大体2~3秒ぐらいに短縮されました。 非常に開発体験が良く、導入手順もそこまで複雑ではないため、技術スタックが合えば導入を検討しても良いかもしれません。 Viteとは? ViteはVue.js作者のEvan You 氏が開発しているノーバンドルのビルドツールです。 Native ESModulesのimportを利用し、ブラウザから直接モジュールを読み込むことで高速な開発サーバを提供します。 プロダクションビルド時はRollupでバンドルし、静的アセットを出力します。 Vue.jsだけでなく、ReactやSvelteなどもサポートされ

                                                                              Viteで爆速なフロントエンド開発環境を作る
                                                                            • npm security update: Attack campaign using stolen OAuth tokens

                                                                              Securitynpm security update: Attack campaign using stolen OAuth tokensnpm's impact analysis of the attack campaign using stolen OAuth tokens and additional findings. As of June 2, 2022, GitHub has completed directly notifying all impacted users for whom we were able to detect abuse from the attack on npm. If you have not received a notification directly from GitHub, we do not have evidence that yo

                                                                                npm security update: Attack campaign using stolen OAuth tokens
                                                                              • Denoのフルスタックフレームワーク「Fresh 1.1」登場。プラグインシステム、Preact DevTools対応、404ページのレンダリングなど新機能

                                                                                Denoのフルスタックフレームワーク「Fresh 1.1」登場。プラグインシステム、Preact DevTools対応、404ページのレンダリングなど新機能 JavaScriptやTypeScriptのサーバサイドランタイム「Deno」を開発するDeno Land Inc.は、Deno用のフルスタックフレームワーク「Fresh」最新版となる「Fresh 1.1」をリリースしました。 Fresh v1.1 has been released with significant improvements: Automatic mode JSX Plugin system Preact DevTools integration New Tailwind plugin Preact Signals support ...and much more! Read the full release not

                                                                                  Denoのフルスタックフレームワーク「Fresh 1.1」登場。プラグインシステム、Preact DevTools対応、404ページのレンダリングなど新機能
                                                                                • A QUIC Update for Node.js | Nearform

                                                                                  In March of last year, thanks to support from NearForm and Protocol Labs , I started the process of implementing Node.js support for the new QUIC protocol . This new UDP-based transport protocol is intended to ultimately replace the use of TCP for all HTTP traffic. Anyone familiar with UDP should, at this point, rightfully question why it is being used here. UDP is notoriously unreliable, with pac

                                                                                    A QUIC Update for Node.js | Nearform