@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

Readme

Keywords

none

Package Sidebar

Install

npm i @lyo/badgen

Weekly Downloads

2

Version

3.1.0

License

MIT

Unpacked Size

33.6 kB

Total Files

3

Last publish

Collaborators

  • lyo