Factory
This npm module serves to make working with factories / classes easier.
Adding it to a browserify project
npm install frontend-factory --save
Alternatively the build can be downloaded here. In this case the module is available under window.FactoryFactory.
Installing
npm install
Running tests
npm test
Running build
npm run build
To 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 build
for example. For all npm scripts available please see npm scripts.
API documentation
Please refer to FactoryFactory
.