générateur de code-barres JS
<svg id="barcode"></svg>
<canvas id="barcode"></canvas>
<img id="barcode"/>
<script>
// https://cdn.jsdelivr.net/npm/[email protected]/dist/JsBarcode.all.min.js
JsBarcode("#barcode", "Hi!");
</script>
Undefined