boilerplate code for a npm package