Installation
Last updated
Last updated
The package is currently distributed via internal NPM repository and needs an access token. Please reach out to us.
You can use the token by adding following two lines to your project's .npmrc
file:
The package can now be added to your package.json
:
This module is distributed in 3 formats
esm
build dist/airkit.esm.js
is es6 format
commonjs
build dist/airkit.cjs.js
in es5 format
umd
build dist/airkit.umd.min.js
in es5 format without polyfilling corejs minified
By default, the appropriate format is used for your specified use case. A different format can be used (if you know what you're doing) by referencing the correct file.
If not already, the node buffer and process libraries need to be polyfilled.
Install :
Update your webpack config as follows
Install :