Skip to main content

3 posts tagged with "nodejs"

View All Tags

To lock or not to lock

· 7 min read
Justin Beckwith
Director of Engineering @ Discord

Package Lock Files

A few years ago, npm introduced the notion of a package-lock.json. The purpose of the file is to provide a manifest that calls out the exact version of every package in your tree, the last time npm install was run. After running npm install, you're going to see a message like this:

npm notice created a lockfile as package-lock.json. You should commit this file.

Analyzing node.js on GitHub with BigQuery

· 6 min read
Justin Beckwith
Director of Engineering @ Discord

BigQuery + GitHub awesomeness

As someone who works on developer tooling - GitHub is the holy grail of data sets. There's just so much code out there, written by so many people, for so many reasons. I've often wished I could just clone all of the data on GitHub, and then write scripts to process the data for various reasons:

  • What are the top 1k npm modules used with Node.js apps? We want to know this so we can test them with App Engine.