Make a callback- or promise-based function support both promises and callbacks.
Allows users to use generators in order to write common functions that can be both sync or async.
QRCode / 2d Barcode api with both server side and client side support using canvas
Various hash functions that could be run by both browser and node
Reads / writes floats / doubles from / to buffers in both modern and ancient browsers.