lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Sat, Apr 20, 2019 at 4:12 PM Sean Conner <> wrote:
  Okay ... how would you like to see this work?  Also, how do other
langauges like Python or Ruby handle this?  How does npm handle this, given
that has like a zillion modules?
npm requires that modules have unique names (first come first serve) and the import name always matches the directory containing the module. The import scheme also does aggressive namespacing so you have to go out of your way to do stuff that might screw up some other module's transitive dependencies.

There's a lot to hate about npm, but that part at least works pretty robustly.

/s/ Adam