Fast code generator. No dependencies. Just an idea for now.
npm install tgen
You can also install it globally and use a simple command-line version of it:
npm install tgen -g
This library doesn't require anything on the command line. It's just the barebones functionality common to generators, and should be easy to build upon.
Define a custom template:
// myTemplateGenerator.jsvar generator =tcase = ;;moduleexports = ;
Use the template (one way, you can do it however you want):
var myTemplateGenerator = ;myTemplateGenerator;
Potentially later it will just emit JSON for all the actions it performs. This way you can write your own logger for it.
var template = ;template;
git clone git://github.com/tower/generator.gitcd generatornpm install
chai (and, todo,
brew install phantomjsnpm install mocha -gnpm install phantomjs chai
Undo feature where it remembers the last state of your app before making changes, and it can reverse it without having to write teardown code.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.