@simeap/control-common v1.0.5
L01. controL - Common Library
Last Update : 25 March 2020
Overview
Common Library is one of the controL's sub module and it contains implementation of common functions and/or services can be shared between complex modules, including server and Web App complex module and compound interface. Common library is a JavaScript node package module published in npm registry which can be imported to a projects for building complex module, e.g. Web App or Server.
This guide contains information for developer and user of common library package.
Table of Contents
- Toolchain
- Environment
- Using Common Library Package
- Setting Development Environment
- List of Functions and Services
Toolchain
The following toolchain is applicable to developer who is developing the common library.
- Main Tools:
- Node ^12.16.0 (LTS) & npm ^6.13.0
- Visual Studio Code ^1.43.0
Dev Dependencies:
- @typescript-eslint/eslint-plugin ^2.23.0
- @typescript-eslint/parser ^2.23.0
- copy-webpack-plugin ^5.1.1
- eslint ^6.8.0
- ts-loader ^6.2.1
- typescript ^3.8.3
- webpack ^4.42.0
- webpack-cli ^3.3.11
To use the common library package, see Environment - Using Common Library Package.
Environment
Using Common Library Package
Commmon library package is published in npm registry and can be installed into your project using following npm command. Once common library installs into your project as a dependency, it can be deployed as part of your application.
> npm install @simeap/controL-common
Setting Development Environment
List of Functions and Services
- ADT - Abstract Data Type
- BTree - Binary Tree
- IADT - ADT Interface Type
- Tree - Generic Tree
- Logger - Logging Services