0.0.5 • Published 4 years ago
mhlib v0.0.5
mhlib
ModuHub Javascript Library for IoT Projects
In order to compile the project, you must run the following command:
// To install the dependencies
npm i
// To run the compiler
npm run build
The results of compilation is the folder dist, containing the following files:
- mhlib.cjs.js : This bundle is the CommonJS version of the mhlib - used in backend applications supported by NodeJS
- mhlib.es.js : This bundle is the ES version of the mhlib - used in frontend applications supported by modern frameworks like Angular, React and Vue.js
- mhlib.umd.js : This bundle is the UMD version of the mhlib - used in frontend applications supported by the browser
In order to test the bundles there are a 'test' folder with some test applications.