Lightweight wrapper for accessing npm programmatically (alternative to adding `npm` as a dependency)