Currently, for me, my npm registy is https://registry.npmmirror.com, not https://registry.npmjs.org. But running attw --from-npm <pkg-name> still fetch from the default npm registry. IMO, there are 2 solutions:
- allow
--registry option for attw cmd.
- if not pass
--registry option to attw cmd, use the result of $(npm config get registry) by default