New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

csbg

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csbg

Print badges in the console

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-77.78%
Maintainers
1
Weekly downloads
 
Created
Source

console.badge()

Print badges in your console.

npm version npm downloads

Screenshot

Install

npm i csbg

Usage

Use printBadge() function to print a shields.io style badge in your console.

import { printBadge } from "csbg"

printBadge("npm", "v1.0.0", "#007ec6")

Or you can install .badge() method on console.

import "csbg/install"

console.badge("npm", "v1.0.0", "#007ec6")

Print multiple badges in a row with printBadges()

import { printBadges } from "csbg"

printBadges(["npm", "v1.0.0", "#007ec6"], ["CI", "passing", "#34D058"])

Or you can install .badges() method on console.

import "csbg/install"

console.badges(["npm", "v1.0.0", "#007ec6"], ["CI", "passing", "#34D058"])

License

MIT © Doma

FAQs

Package last updated on 26 Apr 2023

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