Notwithstanding Precautions, Misadventure
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@lyo/badgen

3.1.0 • Public • Published

@lyo/badgen

A browser-compatible version of badgen built automatically with Lyo.

Version Build Hits

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/badgen
const 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

Keywords

none

Install

npm i @lyo/badgen

DownloadsWeekly Downloads

1

Version

3.1.0

License

MIT

Unpacked Size

33.6 kB

Total Files

3

Last publish

Collaborators

  • avatar