scott113341 / npm-install-version

Installs node modules to versioned or custom directories.
MIT License
56 stars 11 forks source link

Requiring sub-paths #34

Open debopamsengupta opened 7 years ago

debopamsengupta commented 7 years ago

Hi @scott113341 ,

Would it be possible to add a parameter to use niv.require without replacing all / characters ? This would allow us to require subpaths like lodash@3.10.1/array/chunk

:)

scott113341 commented 7 years ago

Great idea, this is a valid use case I didn't consider. I'll look into this when I get the chance (going to be gone for the next two weeks).

debopamsengupta commented 7 years ago

Cheers ! 😄