1.1.4 • Published 2 years ago
iqair-common v1.1.4
iqair-common
Shared common library for IQAir utility functions
Get started
Download the package from NPM
npm install iqair-common
Import the functions you need from the right sub-packages
Example with objects
// example.ts
import { objectKeys } from 'iqair-common/objects'
const user = {
name: 'user',
age: 30,
id: 'some-id'
}
const keys = objectKeys(user)List of packages
datedom-utilsextra-typeshttpiconskeyboardobjectsstrings
Build
Run npm run build:common to build the project.
Build & Publish
- Bump the version:
npm version major|minor|patch Build the library:
ng build commonThe build artifacts will be stored in thedist/commondirectory.Publish to NPM: go to the dist folder
cd dist/commonrunnpm publish
Running unit tests
Run ng test common to execute the unit tests via Karma.