speed up npm lwrp

# summary

this speeds up the `npm` LWRP by not forking `npm` to list installed packages.