It simply takes the data object sent over the socket and emits an event using it's eventName attribute and passes the options attribute as the callbacks arguments.
Selectively mirror the npm registry inside your firewall. Filter packages based on security, licensing, code quality and more. Build awesome stuff faster. Try npm Enterprise for free…
how? learn more