pdf-editor-core
v1.1.0
Published
https://github.com/settings/tokens to generate personal token
Readme
To publish a new version
https://github.com/settings/tokens to generate personal token
Just enable permissions for write:packages
cd lib
npm login --scope=@sentry-health --registry=https://npm.pkg.github.com
Replace VERSION
Update version number in js/package.json
npm publish
npm publish @sentry-health/sentry-litegraph@VERSION
To use package
yarn add @sentry-health/pdf-editor-core OR npm install @sentry-health/pdf-editor-core
import loadPdf from '@sentry-health/pdf-editor-core'
loadPdf({ url: urlOfPdf, file: File object of PDF }, ID_OF_VIEWER_CONTAINER, { shouldCancel: function that determines if the loading of the PDF should be determinated, updateProgress: function that allows for a loading display }, TRUE_IF_VUE2_FALSE_IF_VUE3 )
