// Don't need the second param since we have the canvas in scope...
resolve(cvs.toDataURL('image/png'))
}
})
})
}
a=awaitgetBarcodeDataURI({
bcid:'ean8',// Barcode type
text:'1234567',// Text to encode
scale:1,// 3x scaling factor
height:23,// Bar height, in millimeters
})
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.