~/talk

Writing a Webmodule

Talkat JSConf.ar 2014 · on Saturday, 2014-11-29· [javascript, web-platform]
bluesky:n8.io
slides:none on file

A how-to for shipping tiny npm modules aimed at the browser: export one function, keep each repo single-purpose, include a README, unit tests and npm and GitHub name parity, prefer hyphenated names, and use browserify for bundling. Tests run in the cloud with zuul driving travis ci and sauce labs so matrix failures show which browsers break; the annoying part is creating a Sauce Labs account per module but the end result is green builds and cross‑browser confidence.

AI-written summary · about

  1. 0:00Intro
  2. 1:12Coding Standards
  3. 2:16Small and Focused
  4. 2:54Polyfills
  5. 3:31Inverses
  6. 4:26Browserify
  7. 5:04Naming
  8. 6:24Readme
  9. 8:00Cloud Testing
  10. 8:58Travis CI
  11. 10:05Sauce Labs
~/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.