New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
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

latest
Source
npmnpm
Version
0.1.3
Version published
Maintainers
1
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