Make the function to import npm2nix-generated packages accessible outside of node-packages.nix

Signed-off-by: Shea Levy <shea@shealevy.com>