micro-promisify
Convert callback-based function into promise. Simple, 10LOC, no deps.
Usage
const promisify = ;const fs = ; const promise = 'filename.txt';
Runtime support
Node.js 4+ and modern browsers only.
License
MIT (c) 2016 Paul Miller (http://paulmillr.com)