Skip to content

Instantly share code, notes, and snippets.

@vividn
vividn / npmTimeMachine
Created December 7, 2021 14:45
npmTimeMachine
#!/usr/bin/env bash
# npmTimeMachine
# Quickly get package versions where they would have been on a certain date
# Can be useful for getting out of dependency hell by slowly working your way forward in time
# as if you had stayed up to date in the first place.
#
# The script will run and find the appropriate package versions based on public npm publish data
#
# Usage: