@lyo/badgen
v3.1.0
Published
Browser-compatible version of badgen
Downloads
7
Readme
@lyo/badgen
A browser-compatible version of badgen built automatically with Lyo.
Usage
In a browser
<script src="https://cdn.jsdelivr.net/npm/@lyo/badgen"></script>
<script>
badgen.badgen(foo);
badgen.calcWidth(foo);
</script>In Node.js
# Install
npm i @lyo/badgenconst badgen = require('@lyo/badgen')
badgen.badgen(foo);
badgen.calcWidth(foo);Disclaimer
This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.
Use at your own risk
