$ npm install elasticsearch-bulk
This module has integration tests written using node-tap. To run them, you'll need elasticsearch on your path.