buffer is a dependency
use process.browser only, which is sufficient
key