Base Javascript (Beta)
Basic javascript foundation written in ES6/2015 Vanilla JS.
features
: Feature management systemutils
: Various utilitieseventHub
: Global event hub
Dependencies
Installation
Install this package with yarn:
yarn install gi-js-base
or with npm:
npm install gi-js-base
After the installation has completed, you can import the complete base module or also just single modules:
// import complete library with all modules // import just the feature system module
or to make the module available as a variable in every module (webpack configuration):
plugins: base: 'gi-base'
Browser compatibility
- Newest two browser versions of Chrome, Firefox, Safari and Edge
- IE 10 and above
Development
make build
ornpm run build
- Build production version of the library.make dev
ornpm run dev
- Build demo of the library, run a watcher and start browser-sync.make test
ornpm run test
- Test the library.make jsdoc
- Update documentation inside thedocs
folder.make publish
- Publish npm package.