Socket
Socket
Sign inDemoInstall

@lyo/badgen

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @lyo/badgen

Browser-compatible version of badgen


Version published
Maintainers
1
Install size
33.6 kB
Created

Readme

Source

@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

FAQs

Last updated on 09 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc