nut-swagger npm package is a light-weight and flexible library to generate Node.js controller modules from swagger definition file. The controller modules generated by this npm package is also used by nut-ioc
you can reach github repository.
index.js is empty because nut-swagger is a CLI.
In order to run the following demo in terminal, open index.js or any other code editor in the following demo and click F1 from keyboard then choose "Open Shell" option, then you are gonna see a terminal in the right bottom corner side. So, you can run any script in Script block in package.json file.