Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

badge-maker

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

badge-maker - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

index.d.ts

4

CHANGELOG.md
# Changelog
## 3.1.0
- Add TypeScript definitions
## 3.0.1

@@ -4,0 +8,0 @@

3

package.json
{
"name": "badge-maker",
"version": "3.0.1",
"version": "3.1.0",
"description": "Shields.io badge library",

@@ -12,2 +12,3 @@ "keywords": [

],
"types": "index.d.ts",
"main": "lib/index.js",

@@ -14,0 +15,0 @@ "repository": {

@@ -5,2 +5,3 @@ # badge-maker

[![npm license](https://img.shields.io/npm/l/badge-maker.svg)](https://npmjs.org/package/badge-maker)
[![npm type definitions](https://img.shields.io/npm/types/badge-maker)](https://npmjs.org/package/badge-maker)

@@ -24,5 +25,15 @@ ## Installation

With CommonJS in JavaScript,
```js
const { makeBadge, ValidationError } = require('badge-maker')
```
With ESM or TypeScript,
```ts
import { makeBadge, ValidationError } from 'badge-maker'
```
```js
const format = {

@@ -29,0 +40,0 @@ label: 'build',

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