TramwayJS

Install

The install command can be used to install Tramway and any Tramway dependency

It will install the core modules your application needs with tramway or specific pieces as specified in the arguments. It will also add the necessary files to your project, and entries to gitignore. Note, this command will modify your package.json and package-lock.json files.

Example

To install the base:

tramway install

To add modules, like a MySQLProvider:

tramway install mysql

Options

ArgumentCommand TypeTypeDefaultRequiredComments
piecesargumentstringnonenoA list of tramway modules to install

Available Libraries

The following libraries are available to install with tramway install

NameAliases
mysql
arangodbarango
mongodbmongo
apiajax
commandcron
auth0
connection
core
dependencyInjectionDI, dependency-injection
router
logger
winston