Fixed bug leading to multiple emits for the same collection.
Lowercase name for npm registry.
Tweaked example.