並び順

ブックマーク数

期間指定

  • から
  • まで

81 - 120 件 / 3386件

新着順 人気順

JavaScriptの検索結果81 - 120 件 / 3386件

  • GitHub - zheksoon/dioma: Elegant dependency injection container for vanilla JavaScript and TypeScript

    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 - zheksoon/dioma: Elegant dependency injection container for vanilla JavaScript and TypeScript
    • ESLint v9.0.0 released - ESLint - Pluggable JavaScript Linter

      Highlights This is a summary of the significant changes, both breaking and non-breaking, you need to know about when upgrading from ESLint v8.x to ESLint v9.0.0. Installing Because this is a major release, you may not automatically be upgraded by npm. To ensure you are using this version, run: npm i eslint@9.0.0 --save-dev Migration Guide As there are a lot of changes, we’ve created a migration gu

        ESLint v9.0.0 released - ESLint - Pluggable JavaScript Linter
      • We've added JavaScript-native RPC to Cloudflare Workers

        We've added JavaScript-native RPC to Cloudflare Workers04/05/2024 Cloudflare Workers now features a built-in RPC (Remote Procedure Call) system enabling seamless Worker-to-Worker and Worker-to-Durable Object communication, with almost no boilerplate. You just define a class: export class MyService extends WorkerEntrypoint { sum(a, b) { return a + b; } } And then you call it: let three = await env.

          We've added JavaScript-native RPC to Cloudflare Workers
        • JavaScript: 哀れな圧縮力だ! - Qiita


          programhuffman5060% // function comp(A){ for(var a=0,b=1,c,d=0,e,f=1,B=[0],C=[];(e=A[a++])>-1;c=c*32+e) C[c&=131071]^e?B[b++]=C[c]=e:B[d]|=f,(f<<=1)>128&&(B[d=b++]=0,f=1); return~d+b||--B.length,B } // function decomp(A){ for(var a=0,b=0,c=0,d=A.length,f,B=[],C=[];a<=d;c=c*32+(B[b++]=f&1?C[c]:C
            JavaScript: 哀れな圧縮力だ! - Qiita
          • JavaScriptパッケージシステム「npm」は巨大なバグを抱えていると指摘し、新たなパッケージシステムを開発する「vlt」。npm作者らの参加を発表

            JavaScriptパッケージシステム「npm」は巨大なバグを抱えていると指摘し、新たなパッケージシステムを開発する「vlt」。npm作者らの参加を発表 npmに代わる新しいJavaScriptのパッケージシステム「vlt」(vōlt:ボールト)を開発しているvlt technologyは、同社にnpmの作者であるIsaac Z. Schlueter氏、npmのスタッフエンジニアリングマネージャであったDarcy Clarke氏、npmのCLIチームであったRuy Adornoらが参加すると発表しました。 Node.jsとnpmが作ったJavaScriptのエコシステム サーバサイドでJavaScriptを実行可能にしたNode.jsの登場と、そのNode.jsを基盤にJavaScriptのアプリケーションやモジュールなどをパッケージングして登録し、自由にダウンロード可能にしたレジストリで

              JavaScriptパッケージシステム「npm」は巨大なバグを抱えていると指摘し、新たなパッケージシステムを開発する「vlt」。npm作者らの参加を発表
            • 【はてなブログ-カスタマイズ】スマホ版で追従する目次を表示する(JavaScript・HTML・CSS対応) - みやもとブログ


                  miya-moto-blog.hatenablog.com PC     使gif  CSSHTML JavaScript         
                【はてなブログ-カスタマイズ】スマホ版で追従する目次を表示する(JavaScript・HTML・CSS対応) - みやもとブログ
              • JavaScriptランタイム「Bun 1.1」正式リリース。Windows版登場、Node.jsとの互換性向上、前バージョンより高速化など

                JavaScriptランタイム「Bun 1.1」正式リリース。Windows版登場、Node.jsとの互換性向上、前バージョンより高速化など BunはJavaScriptとTypeScriptのランタイム機能を備えるだけでなく、トランスパイラ、バンドラ、タスクランナー、npm互換のパッケージマネージャなど、JavaScript/TypeScriptのツールチェーンを統合したソフトウェアです。 Bun 1.1ではこれまで提供されていたLinux版、macOS版に加えて、Windows版が追加されたのが最大の特徴です。 Bun 1.1でWindows版が登場 Bun 1.1はPowerShellから下記のコマンドで簡単にインストール可能です。画像左は、Bunの作者であるJarred Sumner氏。 Bunは以前から高速な動作も特徴の1つとして説明しています。下記はWindows上で「bun

                  JavaScriptランタイム「Bun 1.1」正式リリース。Windows版登場、Node.jsとの互換性向上、前バージョンより高速化など
                • [javascript] カラフルなconsole.log - Qiita


                   console.logconsole.log  export const success = (msg: string) => { console.log("\x1b[32m%s \x1b[0m", `SUCCESS: ${msg}`); }; export const error = (msg: string) => { console.log("\x1b[31m%s \x1b[0m", `ERROR: ${msg}`); }; export const warning = (msg: string) => { console.log("\x1b[33m%s \x1b[0m", `WARNING: ${
                    [javascript] カラフルなconsole.log - Qiita
                  • GitHub - proposal-signals/proposal-signals: A proposal to add signals to JavaScript.

                    Stage 0 Authors: Rob Eisenberg and Daniel Ehrenberg This document describes an early common direction for signals in JavaScript, similar to the Promises/A+ effort which preceded the Promises standardized by TC39 in ES2015. Try it for yourself, using a polyfill. Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could

                      GitHub - proposal-signals/proposal-signals: A proposal to add signals to JavaScript.
                    • 【個人開発】webアプリを作成しました【Rails,Javascript,MySQL,GitHub Actions,AWS EC2】 - Qiita

                      【個人開発】webアプリを作成しました【Rails,Javascript,MySQL,GitHub Actions,AWS EC2】JavaScriptRailsMySQLAWSGitHubActions アプケーション名 Quick Clean Restroom Map アプリケーション概要 最寄りの綺麗なトイレの位置をリアルタイムで案内し、トイレの情報を提供します。 URL 備考 EC2インタンスは通常時停止です。 アプリケーションを作成した背景 外出先で最寄りの綺麗なトイレを探すのが困難なことがあります。Google Mapsでは公共のトイレは多く表示されますが、綺麗なトイレをすぐに見つけることは難しいです。同様の問題を抱えている方が多いと思い、ユーザー同士で綺麗なトイレの情報を共有できるアプリケーションを開発することにしました。 アプリの画像 利用方法① 最寄りのトイレを探す 最寄

                        【個人開発】webアプリを作成しました【Rails,Javascript,MySQL,GitHub Actions,AWS EC2】 - Qiita
                      • GitHub - eduardoleao052/js-torch: A JavaScript library like PyTorch, built from scratch.

                        import { torch } from "js-pytorch"; const nn = torch.nn; class Transformer extends nn.Module { constructor(vocab_size, hidden_size, n_timesteps, n_heads, p) { super(); // Instantiate Transformer's Layers: this.embed = new nn.Embedding(vocab_size, hidden_size); this.pos_embed = new nn.PositionalEmbedding(n_timesteps, hidden_size); this.b1 = new nn.Block( hidden_size, hidden_size, n_heads, n_timeste

                          GitHub - eduardoleao052/js-torch: A JavaScript library like PyTorch, built from scratch.
                        • JavaScript Visualized - Promise Execution

                          Promises in JavaScript can seem a bit daunting at first, but understanding what's happening under the hood can make them much more approachable. In this blog post, we'll dive deep into some of the inner workings of promises and explore how they enable non-blocking asynchronous tasks in JavaScript. I'm still working on making this blog better on mobile devices, mobile browsers don't always render t

                            JavaScript Visualized - Promise Execution
                          • ITジャーナリスト/Publickeyブロガー。IT系の雑誌編集者、オンラインメディア発行人を経て独立。2009年にPublickeyを開始しました。 GitHubは、脆弱性のあるコードをAIボットが自動的に発見、修正したコードとその解説をプルリクエストしてくれる「code scanning autofix」(コードスキャン自動修正機能)を発表しました。 下記がそのコードスキャン自動修正機能の説明です。「Found means fixed: Introducing code scanning autofix, powered by GitHub Copilot and CodeQL」から引用します。 Powered by GitHub Copilot and CodeQL, code scanning autofix covers more than 90% of alert types

                              コードの脆弱性をAIが自動で発見、解説と修正提案する機能をGitHubが発表。JavaScript、TypeScript、Java、Python対応 | テクノエッジ TechnoEdge
                            • What's the difference between JavaScript engines and JavaScript runtimes? - Human Who Codes

                              You have probably heard the terms “JavaScript engine” and “JavaScript runtime” used interchangeably to mean “a program that runs JavaScript.” These are often intermixed by referencing V8, Node.js, or some other combination of related programs. However, there is a significant difference between a JavaScript engine and a JavaScript runtime in terms of scope and functionality. Understanding this diff

                              • GitHub - Mechazawa/103-early-anti-adblock: Detect adblockers without Javascript by abusing early hints

                                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 - Mechazawa/103-early-anti-adblock: Detect adblockers without Javascript by abusing early hints
                                • JavaScript である値がオブジェクト型であることを判定する変なテク

                                  TC39の活動で有名なJordan Harbandが作成した下記issueで知ったのでメモ。 前提として、次のコードによって x がオブジェクト型であることを判断できる。JavaScriptにおける null は typeof の結果が "object" になるという有名な変な挙動がカバーされている。 function isObjectA(x) { return (typeof x === "object" && x !== null) || typeof x === "function"; }

                                    JavaScript である値がオブジェクト型であることを判定する変なテク
                                  • javascriptのオブジェクトリテラルは評価されるまでは、あくまでブロック文でしかない - メモを揉め


                                     使   調 使 {0:0}+{0:0} //   {a:0}+{0:0} //NaN {a:0}*{0:0} //   safari {} undefi
                                      javascriptのオブジェクトリテラルは評価されるまでは、あくまでブロック文でしかない - メモを揉め
                                    • jsx, tsx のシンタックスハイライトにも対応しました。また、JavaScriptのハイライトを改善しました - はてなブログ開発ブログ

                                      はてなブログでは、ソースコードなどを構文(シンタックス)に応じて色付け(ハイライト)表示する シンタックスハイライトに対応しています。今回、シンタックスハイライトに関する改善を行いました。 jsx, tsx形式のシンタックスハイライトの追加 JavaScript形式のシンタックスハイライトの改善 jsx, tsx形式のシンタックスハイライトの追加 jsx 及び tsx 形式に新たに対応しました。 はてな記法、Markdownでのハイライト方法は以下のとおりです。 はてな記法 >|jsx| ...ソースコードを記述する... ||< Markdown ```jsx ...ソースコードを記述する... ```詳しい利用方法やその他の形式の対応につきましては、下記のヘルプをご参照ください。 JavaScript形式のシンタックスハイライトの改善 JavaScriptのシンタックスハイライトの改善

                                        jsx, tsx のシンタックスハイライトにも対応しました。また、JavaScriptのハイライトを改善しました - はてなブログ開発ブログ
                                      • JavaScript PrimerのES2024対応を手伝ってくれるContributorとSponsorを募集しています

                                        JavaScript PrimerのES2024の対応を進めていく予定なので、 対応を手伝ってくれるContributorとjsprimerというプロジェクトを支援してくれるSponsorを募集しています。 追記(2024-03-22): Contributorを希望する方は集まりました。ありがとうございます! JavaScript Primerスポンサーは引き続き募集しています! Gold Sponsors Supporters 3行サマリー ES2024の対応を6月末までにやるマイルストーンを切りました ES2024の対応を手伝ってくれるContributorを募集しています Open Collectiveを始めたので、プロジェクトを支援してくれるSponsorを募集しています jsprimerのES2024対応 jsprimerは毎年のECMAScriptの仕様改定にあわせてメジャー

                                          JavaScript PrimerのES2024対応を手伝ってくれるContributorとSponsorを募集しています
                                        • 【2024年版】JavaScript(React)におけるリーダブルコードのチートシート10~13章 - Qiita

                                          2024/3/18 コードの再構成 10章 無関係の下位問題を抽出する 10.1 入門的な例: findClosestLocation() const findClosestLocation = (lat, lng array) => { let closest; let closes_dist = Number.MAX_VALUE; for(var i = 0; i < arrya.length; i += i){ //2つの地点をラジアンに変換する const lat_rad = radians(lat); const lat_rad = radians(lnt); const lat2_rad = radians(array[i].latitude); const lat2_rad = radians(array[i].longitude); //「球面三角法の第二余弦定理」の公式を

                                            【2024年版】JavaScript(React)におけるリーダブルコードのチートシート10~13章 - Qiita
                                          • JavaScriptからFlaskへのデータ送信ーajax通信400エラー - Qiita

                                            初めに Flaskを用いて開発を行っており、JSからFlask側にajaxを使って情報を送ろうとした。 コードは下記通り var fData = new FormData(); fData.append(Data1, data1); fData.append(Data2, data2); fData = Object.fromEntries(fData.entries()) $.ajax({ url : 'URL', type : 'POST', data : JSON.stringify(fData), dataType : "json", processData : false, contentType : "application/json", async : false, })

                                              JavaScriptからFlaskへのデータ送信ーajax通信400エラー - Qiita
                                            • Runtime compatibility across JavaScript runtimes

                                              Display APIs compatibility across different JavaScript runtimes. The data is retrieved from runtime-compat-data, based on MDN's format.

                                              • WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport | RxDB - JavaScript Database

                                                For modern real-time web applications, the ability to send events from the server to the client is indispensable. This necessity has led to the development of several methods over the years, each with its own set of advantages and drawbacks. Initially, long-polling was the only option available. It was then succeeded by WebSockets, which offered a more robust solution for bidirectional communicati

                                                  WebSockets vs Server-Sent-Events vs Long-Polling vs WebRTC vs WebTransport | RxDB - JavaScript Database
                                                • Comparing JavaScript Frameworks part 1: templates

                                                  2024-03-11In this blog post series I will compare the following JavaScript frameworks: Vue.js, React, Angular, and Svelte. In part 1 the focus will be on comparing JavaScript framework template languages. The template language of a JavaScript framework is used to define the HTML of the application / website. You can say that the main reason any of the JavaScript frameworks exists is the following:

                                                    Comparing JavaScript Frameworks part 1: templates
                                                  • 純粋なJavaScriptで実現するデータバインディング - Qiita


                                                     JavaScript使WebJavaScript    1  JavaScript使 使  
                                                      純粋なJavaScriptで実現するデータバインディング - Qiita
                                                    • JavaScriptランタイム「WinterJS 1.0」リリース、WasmerがRustで開発


                                                      WebAssemblyWasmWasmer2024312RustJavaScriptWinterJS 1.0 WinterJSWinterCGSpiderMonkey使JavaScriptTokio使HTTPJSWebAssemblyWasmer Edge WasmerWinterJS 1.0 BunWorkerDNode  WasmerW
                                                        JavaScriptランタイム「WinterJS 1.0」リリース、WasmerがRustで開発
                                                      • 第217回 MySQL ShellでJavaScriptを使ってMySQLを操作してみよう[その2] | gihyo.jp


                                                        216 MySQL ShellMySQLJavaScript使MySQL Shell使JavaScript  DockerMySQL使Docker % docker run --platform linux/x86_64 -p 127.0.0.1:3307:3306 -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_USER=kk2170 -e MYSQL_PASSWORD=my-secret-pw -d mysql:8.0.36 214DockerMySQL Shell使
                                                          第217回 MySQL ShellでJavaScriptを使ってMySQLを操作してみよう[その2] | gihyo.jp
                                                        • かつてないほどリードを拡大するPython、JavaScriptも伸長 プログラミング言語ランキング

                                                          ソフトウェア品質の評価と追跡を手掛けるTIOBE Softwareは、2024年3月版の「TIOBEプログラミングコミュニティーインデックス」(通称「TIOBEインデックス」)を発表した。TIOBEインデックスはプログラミング言語の人気度を示すランキングで、同社が毎月更新している。 TIOBEインデックスは、世界の熟練エンジニアや学習講座、サードパーティーベンダーの数に基づいて算出されている。レーティングの計算には、人気のあるGoogle、Amazon.com、Wikipedia、Bingや、他の20以上のWebサイトが使われている。 なお、TIOBEインデックスは「どのプログラミング言語が優れているか」「どの言語で書かれたコードの行数が多いか」を示すものではないと、TIOBE Softwareは説明している。 同社はTIOBEインデックスの使い方として、「自分のプログラミングスキルが時流

                                                            かつてないほどリードを拡大するPython、JavaScriptも伸長 プログラミング言語ランキング
                                                          • JavaScript/TypeScriptプログラマのIDEは半数以上がVSCode、32%がテストを書かない。JetBrainsによるアンケート調査

                                                            JavaScript/TypeScriptプログラマのIDEは半数以上がVSCode、32%がテストを書かない。JetBrainsによるアンケート調査 Kotlin言語やIntelliJ IDEAなどの開発ツールを開発提供しているJetBrainsは、 JavaScriptとTypeScriptに関する調査結果「2024 年の JavaScript と TypeScript のトレンド: 開発者エコシステムアンケートのインサイト」を公開しました。 この調査は世界中の2万6348人の開発者からのアンケートを集計したもので、アンケートは2023年に行われています。公開された集計結果から興味深いものを見ていきましょう。 IDEはVisual Studio Codeが過半数のシェア 回答者の半数以上となる51%が、JavaScriptやTypeScriptのプログラミングを行う場合の統合開発ツール

                                                              JavaScript/TypeScriptプログラマのIDEは半数以上がVSCode、32%がテストを書かない。JetBrainsによるアンケート調査
                                                            • 新たなサーバサイドJavaScriptランタイム「WinterJS 1.0」正式リリース、WebAssemblyへのコンパイルも可能。Wasmerが開発

                                                              新たなサーバサイドJavaScriptランタイム「WinterJS 1.0」正式リリース、WebAssemblyへのコンパイルも可能。Wasmerが開発 WebAssemblyランタイム「Wasmer」の開発元として知られているWasmer社は、新しいサーバサイドのJavaScriptランタイム「WinterJS」の正式版となる「WinterJS 1.0」のリリースを発表しました。 ❄️ Introducing WinterJS 1.0 - the fastest WinterCG Javascript runtime in the world powered by Rust and SpiderMonkey ...and #WebAssembly compatible! Now supporting: React Server Components Cloudflare mode 150

                                                                新たなサーバサイドJavaScriptランタイム「WinterJS 1.0」正式リリース、WebAssemblyへのコンパイルも可能。Wasmerが開発
                                                              • lamplightdev - Streaming HTML out of order without JavaScript

                                                                This is a simple page that renders a list of 10 items. Try it with and without JavaScript enabled in your browser. There's a few things to notice: The 'app shell' renders first - you see the header and the footer, but there's a loading placeholder where the list of items will be rendered. After a second the loading placeholder is replaced with the list of items - but with each item itself having a

                                                                • 2024 年の JavaScript と TypeScript のトレンド: 開発者エコシステムアンケートのインサイト | The WebStorm Blog

                                                                  JetBrains は過去 7 年間にわたり、変化し続ける開発者の状況と使用されている主要テクノロジーを関連付けるために開発者エコシステムアンケートを実施してきました。 その結果は生データと分析レポートの両方の形式でコミュニティと共有され、すべての関係者がこのエコシステムの状況を把握できるようになっています。 本日は今年の調査結果を JavaScript と TypeScript に焦点を当てて確認したいと思います。 アンケートの概要 2023 年の開発者エコシステムアンケートでは、世界中の 26,348 人の開発者からインサイトを収集しました。 このアンケートの結果を自分で確認し、プログラミング言語やツール、テクノロジーから回答者に関する有用な情報や豆情報に至るまで広範なトピックを網羅した情報を入手できます。 私たちは開発者独特のライフスタイルにも注目し、その情熱や興味を明らかにする予定

                                                                    2024 年の JavaScript と TypeScript のトレンド: 開発者エコシステムアンケートのインサイト | The WebStorm Blog
                                                                  • JavaScript の新しいバンドラ Rolldown について


                                                                     202438 Rolldown  Rolldown  Rust  JavaScript  Vite 使Rollup  API 使  Rolldown  Rolldown  Rolldown Vite  Vite 2 esbuild Go esbuild  TypeScript / JSX minify 
                                                                      JavaScript の新しいバンドラ Rolldown について
                                                                    • BlockNote - Javascript Block-Based React rich text editor

                                                                      The open source Block-Based rich text editorA beautiful text editor that just works. Easily add an editor to your app that users will love. Customize it with your own functionality like custom blocks or AI tooling. Why BlockNote?Whether you want extensive customization or a great out-of-the-box experience, BlockNote has you covered:

                                                                        BlockNote - Javascript Block-Based React rich text editor
                                                                      • JavaScript Frameworks - Heading into 2024

                                                                        I won't be the first to say it, but I will say it nonetheless, 2023 was quite the year for JavaScript frameworks. Between new technologies we've been watching finally showing they can deliver, and older frameworks making a resurgence if you weren't paying attention you may have missed a pretty significant shift. I anticipate that 2024 will continue to see even larger changes across the board. This

                                                                          JavaScript Frameworks - Heading into 2024
                                                                        • Deno、モダンなJavaScript/TypeScriptに最適化したパッケージレジストリ「JSR」パブリックベータ公開。Node.js、Bun、Cloudflareなどにも対応

                                                                          JavaScript/TypeScriptランタイムの「Deno」を開発提供しているDeno Land Inc.は、モダンなJavaScriptおよびTypeScriptに最適化した新しいパッケージレジストリ「JSR」をパブリックベータとして公開しました。 現在、JavaScriptのパッケージレジストリは、Node.js用に構築され、GitHubが運営するnpm(Node Pacage Manager)が事実上の標準となっています。 参考:GitHubがnpmの買収を発表、JavaScriptのパッケージ管理サービス。将来的にはGitHubとnpmを統合へ npmにはさまざまな機能を備えたパッケージモジュールが大量に登録されており、この豊富なパッケージモジュールの存在がNode.jsの大きな利点となっています。そのため、現在ではDeno、Bun、Cloudflare Workersなど後

                                                                            Deno、モダンなJavaScript/TypeScriptに最適化したパッケージレジストリ「JSR」パブリックベータ公開。Node.js、Bun、Cloudflareなどにも対応
                                                                          • GitHub - jsr-io/jsr: The open-source package registry for modern JavaScript and TypeScript

                                                                            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 - jsr-io/jsr: The open-source package registry for modern JavaScript and TypeScript
                                                                            • Introducing JSR - the JavaScript Registry

                                                                              Modules are published to JSR as TypeScript source code. API documentation generation, type declarations for Node-like environments, and transpilation are all handled by JSR. Module authors can focus on writing TypeScript only. Read on for more context on how and why we built JSR, how you can use it today, and how you can be involved in the project! Introducing JSR - the slightly longer versionJava

                                                                                Introducing JSR - the JavaScript Registry
                                                                              • JavaScript Interview Questions

                                                                                Here is a list of common JavaScript interview questions with detailed answers to help you prepare for the interview as a JavaScript developer. JavaScript continues to be a cornerstone of web development, powering dynamic and interactive experiences across the web. As the language evolves, so does the complexity and scope of interview questions for JavaScript developers. Whether you’re a fresher de

                                                                                  JavaScript Interview Questions
                                                                                • WebAssemblyを利用してJavaScriptアプリケーションのパフォーマンスを向上させる方法 - Qiita


                                                                                  WebAssembly使JavaScript 1. WebAssembly WebAssemblyWasmJavaScriptWebAssemblyCC++RustGo Amazon Prime VideoWebAssembly2
                                                                                    WebAssemblyを利用してJavaScriptアプリケーションのパフォーマンスを向上させる方法 - Qiita