Carenet SDK (F version)
# install
yarn add carenet-sync
# import package
import { CarenetSync } from 'carenet-sync';
NgModule({
declarations: [AppComponent, CarenetSync],
...
})
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# Just use as a component
<carenet-sync url="{your_url}" (processed)="onProcessed($event)"></carenet-sync>
<div *ngIf="data && data.length > 0;">
{{ data }}
</div>