Skip to content

Instantly share code, notes, and snippets.

@pimterry
Created November 14, 2017 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pimterry/5b9642091c046c161dfdf04755e4cb67 to your computer and use it in GitHub Desktop.
Save pimterry/5b9642091c046c161dfdf04755e4cb67 to your computer and use it in GitHub Desktop.
const fetch = require('node-fetch');
// Connect to the npm registry, and stream back results to the console every time a package is published
fetch('https://skimdb.npmjs.com/registry/_changes?since=now&feed=continuous&filter=_view&view=app/updated')
.then((response) => response.body.pipe(process.stdout))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment