Updated README to reflect npm addition.

And added "require"-lines to the code examples.