Skip to content

Instantly share code, notes, and snippets.

@jamestalmage
Created September 22, 2015 04:14
Show Gist options
  • Save jamestalmage/6a3c0fa9aaf353ce8704 to your computer and use it in GitHub Desktop.
Save jamestalmage/6a3c0fa9aaf353ce8704 to your computer and use it in GitHub Desktop.
NPM - Transfer ownership of all your packages to somebody else
npm search james.talmage | awk '{system("npm owner add jamestalmage "$1)}'
@jamestalmage
Copy link
Author

Didn't work for the one package I had that had a ~ in the name.

Also erred on the first line of output (the headers). It surely could be improved, but good enough for the one time transfer I needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment