Cleaning up import paths in JS/TS packagespackage.json contains a local aliasing mechanism for import paths called "imports" it satisfies many use cases without tooling specific solutions like tsconfig.json Applications and libraries grow over time. In JavaScript and TypeScript these lead to large amounts of files over time due to various conventions and linting rules that may be held in a code ba
The first UI framework for the agentic era A tiny, blazing-fast, zero dependency, type-safe framework with no build step required. ArrowJS ships with the ability to isolate component logic inside Web Assembly sandboxes while rendering full inline DOM directly in your app — no iframes, no pre-defined UI components. Use it to build fast, maintainable applications — or to ship safe, flexible, on-dema
Pure JavaScript/TypeScript library for multiline text measurement & layout. Fast, accurate & supports all the languages you didn't even know about. Allows rendering to DOM, Canvas, SVG and soon, server-side. Pretext side-steps the need for DOM measurements (e.g. getBoundingClientRect, offsetHeight), which trigger layout reflow, one of the most expensive operations in the browser. It implements its
OpenRedaction is a production-ready library that helps you keep sensitive data out of logs, prompts, and analytics pipelines. It combines 570+ curated regex patterns with advanced context-aware validation, checksum verification, and multiple redaction modes. Key principles: Regex-first: Pattern-based detection runs locally, fast, and private Fully open source: MIT licensed, no vendor lock-in Priva
import * as np from 'numpy-ts'; // Array creation with dtype support const A = np.array([[1, 2], [3, 4]], 'float32'); const B = np.ones([2, 2], 'int32'); // Broadcasting and chained operations const result = A.add(5).multiply(2); // Linear algebra const C = A.matmul(B); const trace = A.trace(); // Reductions with axis support const colMeans = A.mean(0); // [2.0, 3.0] // NumPy-style slicing with st
A standardized JSON Schema representation that preserves inferred type information Standard JSON Schema is a common interface designed to be implemented by JavaScript and TypeScript entities that are or can be converted to JSON Schema. The goal is to make it easier for ecosystem tools to accept user-defined types (typically defined using schema/validation libraries) without needing to write custom
概要 一気にJavaScript・TypeScriptのエキスパートへ! Software Design本誌再編集シリーズ、今度はWeb開発者の必修科目であるJavaScriptとTypeScriptがテーマです。第一線のエンジニアが現場で培った、JavaScript・TypeScriptを最大活用する秘訣を伝授します。 第1章ではJavaScriptの歴史をさかのぼりつつ、基本的な仕様やコーディング作法を解説します。第2章でJavaScriptの関数について、関数のしくみ、引数、関数型プログラミングなどの観点で徹底的に解き明かします。第3章では、JavaScriptの非同期処理について、非同期処理そのものの変遷から、並行・並列処理の違い、Promiseやasync/await、AbortSignal/AsyncLocalStorageまで詳細に掘り下げます。第4章では、TypeScrip
はじめに 2024年の11月に、札幌で開催された「クラメソさっぽろIT勉強会(仮) #6」という勉強会がありまして、そのライトニングトーク枠に登壇してきました。 タイトルは「minifyの効果を最大限に引き出すTypeScriptコードを書く」です。 昨今のフロントエンド開発では、TypeScriptを使ってコーディングし、それをトランスパイルしてできたJavaScriptファイルのサイズを minify によって削減するのが一般的でしょう。そうしたときに、ふと 「TypeScript の書き方を工夫したら、もっと minify が効率的に効くようになるかも?」 と思いたち、型安全性とコードの読みやすさを壊さない範囲で、どこまでファイルサイズを削れるか挑戦してみた、という話です。 今回はその LT ネタを、改めてブログ記事として共有させて頂きます。 今回のお題: Blazor SplitC
After a year of active development: Zod 4 is now stable! It's faster, slimmer, more tsc-efficient, and implements some long-requested features. Huge thanks to Clerk, who supported my work on Zod 4 through their extremely generous OSS Fellowship. They were an amazing partner throughout the (much longer than anticipated!) development process. For a complete list of breaking changes, refer to the Mig
カミナシのソフトウェアエンジニア佐藤です。カミナシレポートの開発に携わっています。 フロントエンドのエラーは「画面リロードやブラウザ再起動で復旧できる(かもしれない)」「クラッシュしてもユーザーの端末に閉じる」などの理由から、バックエンドよりは精緻に扱われない傾向があると個人的には感じています。 その一方、カミナシレポートは、ノンデスクワーカー向けの不安定なネットワーク環境で利用されることも多々あるアプリです。そのため、デジタルツールに不慣れな方のために精緻なフィードバックが必要とされる、リロードに頼ることが難しいケースがある、などの理由でエラーの扱いにも慎重になる必要があります。 本記事では、カミナシレポートのフロントエンド開発をする中で、 バックエンドの API コール時にエラーが発生する条件とその内容(型・クラス) これらエラーをハンドリングする箇所 について、把握しておきたいと感じ
TypeScript has become the de facto standard for building robust, maintainable, and scalable JavaScript applications. Yet, migrating a large production codebase to TypeScript can be a daunting task, especially when you're dealing with 160,000 lines of mission-critical JavaScript and users with real money in your system, and their tax returns to submit. At WorkMade, I decided the pain would be worth
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く