$ luarocks install lpm
INIT (optional)
lpm init
INSTALL FROM ROCKSPEC
lpm i
INSTALL DEPENDENCIES
lpm i package1 package2 package3
MOTIVATION BEHIND CREATING THIS PACKAGE
When we install Lua packages using Luarocks, we don't know which packages have already been installed since there's no equivalent of a package.json like in Node.js.
That's why I created this, so that when we install Lua packages, we can easily track which ones are installed. Additionally, we can directly upload to Luarocks, similar to how in Node.js, we can upload to NPM using just package.json.