generates component files for angular typescript nativescript apps
Install: (might need to install with -g if it doesn't work)
$ npm install tns-generator
$ ng2gen -f folder -n componentname $ ng2gen -f components -n home
This will create a folder: app/foldername/name with three files:
It will check for tns-dev-stylus, tns-dev-jade and tns-dev-typescript and generate variants, .jade, .styl and .ts if needed.
If you are using typescript, it will also generate a component template for you.
190 downloads in the last month
70 downloads in the last week
14 downloads in the last day