~/talk

Publishing in the JavaScript Ecosystem & Keeping Users Happy

Talkat CascadiaJS 2022 · 2022-08-30..09-02· [javascript, developer-experience]
slides:none on file

Covers concrete steps: publish browser code via the package.json browser field, Node.js via main and export maps, and expect Deno (npm support landed in 1.25), Cloudflare Workers to run webpacked modules, and Bun to be pre‑alpha. Recommend dual packaging CJS+ESM or an ESM wrapper, keep publish/install/bundle sizes small with files, minimal deps, named exports and sideEffects=false, and offer a debug variant with sources and sourcemaps via a dist tag. Publish .d.ts (or use DefinitelyTyped) and provide OpenTelemetry as an external instrumentation package.

AI-written summary · about

  1. 0:00Start
  2. 5:30Criteria: Browser (what?)
  3. 6:51Criteria: Server (why?)
  4. 11:03Criteria: Module Formats (how?)
  5. 15:40Criteria: Reduce Install Size (how?)
  6. 19:03Criteria: Debugging (why?)
  7. 20:26Criteria: Observability (what?)
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.