Where is JS Client documentation? Examples?

I have been trying to figure out how to use this client, namely client.bulk but there is no docs to even explain what the parameters should be. Any help would be appreciated.