Socket
Socket
Sign inDemoInstall

badgen

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

badgen

Hand-crafted badge generator.


Version published
Weekly downloads
7.4K
decreased by-14.63%
Maintainers
1
Weekly downloads
 
Created
Source

badgen npm-version install size

Fast, handcraft, pure JavaScript badge generator.

Usage

Badge Service

https://badgen.now.sh/badge/:subject/:status/:color

  • subject Text
  • status Text
  • color Color RGB (default '3C1') or Color Preset (green, yellow, ...see below)

Color Presets:

Examples:

PreviewURL
https://badgen.now.sh/badge/build/passing
https://badgen.now.sh/badge/style/standard/f2a
https://badgen.now.sh/badge/license/Apache-2.0/blue
https://badgen.now.sh/list/platform/ios,macos,tvos/grey

Programmatically

npm install badgen

const badgen = require('badgen')

const svgString = badgen({
  subject: 'npm',
  status: 'v1.2.3',
  color: 'blue'
})

License

ISC @ Amio

FAQs

Package last updated on 23 Jun 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc