Factory
This npm module serves to make working with factories / classes easier.
Adding it to a browserify project
npm install frontend-factory --saveAlternatively the build can be downloaded here. In this case the module is available under window.FactoryFactory.
Installing
npm installRunning tests
npm testRunning build
npm run buildTo read more on the build setup, please refer to the build documentation.
Npm scripts
The project comes with a couple npm scripts that can be executed by running.
npm run <script>So,
npm run buildfor example. For all npm scripts available please see npm scripts.
API documentation
Please refer to FactoryFactory.