5.5.2 • Published 3 days ago

mdbadges-cli v5.5.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 days ago

mdbadges-cli

Release NPM Downloads License

mdbadges-cli is an extensive CLI tool to find over 400+ Shields.io badges for your projects without needing to leaving the terminal, with multiple commands for different purposes.

Installation

npm install -g mdbadges-cli # Node 18 is required.

Release Tests

Getting Started

To start using a command, add the mdb prefix, followed by the command name/syntax.

For example:

mdb social discord

# Badge found:
# [![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?&logo=discord&logoColor=white)](#)

If you want to use a prefix, such as --style, you can run the same command with the prefix after it (prefixes have -- or - before them).

For example:

mdb social discord --style plastic

# Badge found:
# [![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?&logo=discord&logoColor=white&style=plastic)](#)

!TIP If you're running mdbadges-cli in Visual Studio Code, try installing the Image Preview extension. You can hover over the badge link to see a preview of it. See an example here.

For help information, such as what commands do and/or accept, run mdb help / mdb -h in the terminal. Alternatively, you can read the documentation here.

Commands

CommandDescriptionAliasesAdditional Information
mdb <category> <badgeName>Displays Markdown for specified badge in a categoryN/APrefixes available include: --style / -s, --html, --jsx / --tsx, and --link. Finding more than one badge is supported.
mdb searchDisplays badges available in a categorys, findUse arrow keys to scroll up/down.
mdb lookup <keyword>Displays badges containing a certain keyword.lAlso displays what category the badge is in, and clicking ENTER on a badge will give you the badge code.
mdb createDisplays prompts to create your own badgegenerateOnly hexadecimal colors (e.g #000, #FFFFFF) are supported.
mdb randomDisplays a random badge.rSupports both Markdown and HTML formats. Supports specific categories using --category or -c.
mdb copy <category> <badgeName>Copies a badges' code to the clipboardcOn Windows 11, you can do ⊞ + V to verify it's been copied.
mdb badgesOpens a link to the badge list in your browser.listBoth links will be displayed after a few seconds, in case it does not open in your (default) browser.
mdb add <category> <badgeName> <fileName>Allows you to add a badge to a Markdown fileN/AOnly .md files are supported. Will work in subdirectories, so long as the file path is correct.

Miscellaneous Commands

CommandDescriptionAliasesAdditional Information
mdb versionDisplays the current version you are onvThis command is not for updating, this simply outputs your version. To update, see below.
mdb updateAutomatically updates the packageupd, uWill notify you of major bumps, and also prompts you if you'd like to update first.
mdb fundDisplays funding/donation links for the packageN/AYou don't have to donate, but I'd appreciate it!
mdb aboutDisplays general information about the packageabtAlso shows links to the website, GitHub issues, contributing, and more.
mdb documentationOpens a link to the documentation in your browser.docsAgain, the link will be displayed after a few seconds, in case it does not open in your (default) browser.
mdb changelogOpens a link to the latest release with it's changelogs in your browser.releaseOnce again, the link will be displayed after a few seconds, in case it does not open in your (default) browser.

Available Categories

Below you'll find categories that are currently available, with the name and syntax needed in the <category> field of certain commands.

NameSyntax
App Storeapp-store
Artificial Intelligenceai
Blogblog
Browserbrowser
Code Coveragecode-coverage
Code Editorcode-editor
Cloudcloud
Collaborationcollaboration
Cryptocrypto
Databasedatabase
Designdesign
Deliverydelivery
Documentationdocumentation
Educationeducation
Fundingfunding
Frameworkframework
Game Enginegame-engine
Gaming Storefrontgame-stores
Jobsjobs
Officeoffice
Operating Systemos
Package Managerpackage-manager
Paymentpayment
Programming Languageprogramming
Restaurantrestaurant
Reviewreview
Search Enginesearch-engine
Social Mediasocial
Soundsound
Static Sitestatic-site
Storagestorage
Video Streamingvideo-streaming
Virtual Realityvr

Contributing

There are multiple ways to contribute and improve this package.

Read the full contributing guidelines here.

ko-fi

© 2024 · MIT License
5.5.2

3 days ago

5.5.1

11 days ago

5.5.0

12 days ago

5.4.6

29 days ago

5.4.5

1 month ago

5.4.4

1 month ago

5.4.3

1 month ago

5.4.2

2 months ago

5.4.1

2 months ago

5.4.0

2 months ago

5.3.3

2 months ago

5.3.2

2 months ago

5.3.1

2 months ago

5.3.0

2 months ago

5.2.2

2 months ago

5.2.1

2 months ago

5.2.0

2 months ago

5.1.1

3 months ago

5.1.0

3 months ago

5.0.2

3 months ago

5.0.1

3 months ago

5.0.0

3 months ago

4.4.2

3 months ago

4.4.1

3 months ago

4.4.0

3 months ago

4.3.3

3 months ago

4.3.2

3 months ago

4.3.1

3 months ago

4.3.0

3 months ago

4.2.1

3 months ago

4.2.0

3 months ago

4.1.3

3 months ago

4.1.2

3 months ago

4.1.1

3 months ago

4.1.0

3 months ago

4.0.0

3 months ago

3.3.0

4 months ago

3.2.1

4 months ago

3.2.0

4 months ago

3.1.1

4 months ago

3.1.0

4 months ago

3.0.2

4 months ago

3.0.1

4 months ago

3.0.0

4 months ago

2.3.0

4 months ago

2.3.1

4 months ago

2.2.1

4 months ago

2.2.0

4 months ago

2.2.3

4 months ago

2.2.2

4 months ago

2.1.0

4 months ago

1.3.1

4 months ago

2.0.0

4 months ago

1.3.0

4 months ago

1.2.0

4 months ago

1.1.0

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago