NPM Version Bumping and Extra Files

NPM has a handy little feature for bumping the versions on your packages, and it works like this:

npm version [major | minor | patch]  

Want to run tests first, minify your code, and only publish the new version if everything works?


What Can a Technologist Do About Climate Change

From an essay by Bret Victor (@worrydream), on how the tech community "can contribute to tech and/or policy solutions," and why this is important —

You cannot calibrate your sense of what’s valuable and necessary to the current fashions


Using ES6 Generators with Callback-based Libraries

ES6 introduces generators (and yield expressions) to JavaScript. Kyle Simpson has written a nice introduction to generators, if you're looking for more about how they work.

They're a very welcome change from callbacks-of-infinite-sorrow situations, but generators aren't necessarily well supported



A short list of things I enjoy, to be updated at undisclosed and inconsistent intervals.



Grayscale CSS and Bookmarklet

A bit of code that can be used to convert any webpage (or part of a page) to grayscale. Because accessibility!


body {  
  /* IE */
  filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);

  /* Chrome, Safari */
  -webkit-filter: grayscale(1);

  /* Firefox */
  filter: grayscale(1)