#imports
3 discoveries · Hand-picked discoveries from the open web, newest first.
-
Bundler-free npm imports in the browser
#812 — November 24, 2026 Read on the Web JavaScript Weekly Nudeps: Bundler-Like Imports, None of the Baggage — What if you could npm install a package and import it by name in the browser without a bundler? Lea and Dmitry Sharabin's new tool makes this easier than ever using import maps (which it keeps up to date). Run npx nudeps install and add the import map script to your HTML. There are also demos to try. Lea Verou 💡 This work follows on from Lea's popular essay earlier this year: Web Dependencies are Broken. Can We Fix Them? Agents Didn’t Clear Your Plate. They Dumped Reviews on It — Yo
JavaScript Weekly · EN
-
Absolute vs Relative Imports in Python
Compare Python relative imports with absolute imports, weigh the pros and cons of each, and learn best practices for writing clean import statements.
Real Python · EN
-
[TypeScript] パスエイリアスには Subpath Imports を使いたい
medibaにバックエンドエンジニアとして所属している@mdbr92です。 肩書はバックエンドエンジニアですが、実際にはフロントエンド・API・バッチ処理などアプリケーション全体の開発やアーキテクチャ選定・開発環境の整備などをよく担当しています。 はじめに 私がこれまで開発に携わったTypeScriptを採用したいくつかのプロダクトでは、tsconfig.json の paths を使ったパスエイリアス設定を利用しています。 パスエイリアス設定を利用して、たとえば ../../../../lib/log.ts のような相対パスでimport文を記述した際の指定ミスや可読性低下を避け、...
Zenn · JA