{"name":"badges","version":"1.2.2","description":"The definitive collection of badges for rendering","homepage":"https://github.com/bevry/badges","license":"MIT","keywords":["badges","badge","shields","shields.io","saucelabs","sauce labs","travis","travisci","travis ci","npm","npm version","npm downloads","nodeico","waffle","waffle.io","coveralls","coveralls.io","david","david dm","60devs","sixtydevs","patreon","gratipay","flattr","paypal","bitcoin","wishlist","slack","slackin","google+","google plus","reddit","hacker news","facebook","facebook like","facebook follow","twitter","twitter follow","github","github follow","github star","quora","quora follow","tweet","like","follow","plus one","+1","donate","donation","tip","tips","star","opencollective","open collective"],"badges":{"list":["travisci","npmversion","npmdownloads","daviddm","daviddmdev","---","slackin","patreon","opencollective","gratipay","flattr","paypal","bitcoin","wishlist"],"config":{"patreonUsername":"bevry","opencollectiveUsername":"bevry","gratipayUsername":"bevry","flattrUsername":"balupton","paypalURL":"https://bevry.me/paypal","bitcoinURL":"https://bevry.me/bitcoin","wishlistURL":"https://bevry.me/wishlist","slackinURL":"https://slack.bevry.me"}},"author":{"name":"2015+ Bevry Pty Ltd","email":"us@bevry.me","url":"http://bevry.me"},"maintainers":[{"name":"balupton","email":"b@lupton.cc"}],"contributors":[{"name":"Benjamin Lupton","email":"b@lupton.cc","url":"http://balupton.com"},{"name":"Richard Walker","email":"digitalsadhu@gmail.com","url":"http://lovebeer.nz/"}],"bugs":{"url":"https://github.com/bevry/badges/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/bevry/badges.git"},"engines":{"node":">=0.8"},"editions":[{"description":"Source + ESNext + Require","entry":"index.js","directory":"source","syntaxes":["javascript","esnext","require","let","const","destructuring","defaults","template strings"]},{"description":"Babel Compiled + ES2015 + Require","entry":"index.js","directory":"es2015","syntaxes":["javascript","es2015","require"]}],"main":"index.js","browser":"es2015/index.js","dependencies":{"editions":"^1.3.3"},"devDependencies":{"assert-helpers":"^4.4.0","babel-cli":"^6.22.2","babel-preset-es2015":"^6.22.0","documentation":"^4.0.0-beta.18","eslint":"^3.14.1","joe":"^2.0.2","joe-reporter-console":"^2.0.1","projectz":"^1.3.2"},"scripts":{"our:setup":"npm install","our:clean":"rm -Rf ./docs ./es2015","our:compile":"npm run our:compile:es2015","our:compile:es2015":"babel ./source --out-dir ./es2015 --presets es2015","our:meta":"npm run our:meta:docs && npm run our:meta:projectz","our:meta:docs":"documentation build -f html -o ./docs -g --shallow ./source/**.js","our:meta:projectz":"projectz compile","our:verify":"npm run our:verify:eslint","our:verify:eslint":"eslint --fix ./source","our:test":"npm run our:verify && npm test","our:release":"npm run our:release:prepare && npm run our:release:publish && npm run our:release:tag && npm run our:release:push","our:release:prepare":"npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta","our:release:publish":"npm publish","our:release:tag":"git tag v$npm_package_version -a","our:release:push":"git push origin master && git push origin --tags","test":"node --harmony ./test.js --joe-reporter=console"},"gitHead":"2016b41cbe0fc43445d7653ca5defc0b3cccbf70","_id":"badges@1.2.2","_shasum":"a3337790c46fc9102e11048521d76cd71f0c4760","_from":".","_npmVersion":"4.1.1","_nodeVersion":"7.4.0","_npmUser":{"name":"balupton","email":"b@lupton.cc"},"dist":{"shasum":"a3337790c46fc9102e11048521d76cd71f0c4760","tarball":"http://registry-npm.ywwl.com/badges/download/badges-1.2.2.tgz","integrity":"sha512-5AILvmNXf+mKTlMXvMyNRqaFjND8yEZhCcDFoo5VgWt98obP9n/1wtiEnaMFataV6nRwq1aoDmEyyxUIwmq3fQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCISmdbuqVCJHWeUiJasU/MmuDSZjBjS9/uav0aPgtf5AIgC2Irg6gmNxlV2hhd/kWBuixbT0V5WtfqI0cQn2cJiDk="}],"size":17373,"noattachment":false,"key":"/badges/-/badges-1.2.2.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/badges-1.2.2.tgz_1485429932417_0.9272390590049326"},"directories":{},"readme":"<!-- TITLE/ -->\n\n# badges\n\n<!-- /TITLE -->\n\n<!-- BADGES/ -->\n\n<span class=\"badge-githubworkflow\"><a href=\"https://github.com/bevry/badges/actions?query=workflow%3Abevry\" title=\"View the status of this project's GitHub Workflow: bevry\"><img src=\"https://github.com/bevry/badges/workflows/bevry/badge.svg\" alt=\"Status of the GitHub Workflow: bevry\" /></a></span>\n<span class=\"badge-npmversion\"><a href=\"https://npmjs.org/package/badges\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/v/badges.svg\" alt=\"NPM version\" /></a></span>\n<span class=\"badge-npmdownloads\"><a href=\"https://npmjs.org/package/badges\" title=\"View this project on NPM\"><img src=\"https://img.shields.io/npm/dm/badges.svg\" alt=\"NPM downloads\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n<br class=\"badge-separator\" />\n<span class=\"badge-discord\"><a href=\"https://discord.gg/nQuXddV7VP\" title=\"Join this project's community on Discord\"><img src=\"https://img.shields.io/discord/1147436445783560193?logo=discord&amp;label=discord\" alt=\"Discord server badge\" /></a></span>\n<span class=\"badge-twitch\"><a href=\"https://www.twitch.tv/balupton\" title=\"Join this project's community on Twitch\"><img src=\"https://img.shields.io/twitch/status/balupton?logo=twitch\" alt=\"Twitch community badge\" /></a></span>\n\n<!-- /BADGES -->\n\n<!-- DESCRIPTION/ -->\n\nThe definitive collection of badges for rendering\n\n<!-- /DESCRIPTION -->\n\n\n## Usage\n\n[Complete API Documentation.](http://master.badges.bevry.surge.sh/docs/)\n\n```javascript\nimport { renderBadges } from 'badges'\n\n// Listing of badges to output\nconst list = [\n    // Custom Badges\n    ['badge', { image: 'image', alt: 'alt' }],\n    ['badge', { image: 'image', alt: 'alt', url: 'url', title: 'title' }],\n    [\n        'shields',\n        {\n            left: 'left',\n            right: 'right',\n            alt: 'alt',\n            url: 'url',\n            title: 'title',\n        },\n    ],\n    [\n        'shields',\n        {\n            left: 'left',\n            right: 'right',\n            color: 'red',\n            alt: 'alt',\n            url: 'url',\n            title: 'title',\n        },\n    ],\n    '---',\n    // Development Badges\n    'npmversion',\n    'npmdownloads',\n    'daviddm',\n    'daviddmdev',\n    'nodeico',\n    '---',\n    // Testing Badges\n    'saucelabsbm',\n    'saucelabs',\n    'travisci',\n    'codeship',\n    'coveralls',\n    'codeclimate',\n    'bithound',\n    'waffle',\n    '---',\n    // Funding Badges\n    'sixtydevstips',\n    'patreon',\n    'opencollective',\n    'gratipay',\n    'flattr',\n    'paypal',\n    'bitcoin',\n    'wishlist',\n    '---',\n    // Social Badges\n    'slackinscript',\n    'slackin',\n    'gabeacon',\n    'googleplusone',\n    'redditsubmit',\n    'hackernewssubmit',\n    'facebooklike',\n    'facebookfollow',\n    'twittertweet',\n    'twitterfollow',\n    'githubfollow',\n    'githubstar',\n    'quorafollow',\n]\n\n// Configuration for the badges\nconst config = {\n    npmPackageName: 'badges',\n\n    saucelabsUsername: 'bevry',\n    saucelabsAuthToken: '123',\n    codeshipProjectUUID: '123',\n    codeshipProjectID: '123',\n    githubSlug: 'bevry/badges',\n    nodeicoQueryString: { downloads: true, compact: true, height: 2 },\n\n    sixtydevstipsID: 'd2dcf439c9759e88f3ccec1cef394c10',\n    patreonUsername: 'bevry',\n    opencollectiveUsername: 'bevry',\n    gratipayUsername: 'bevry',\n    flattrUsername: 'balupton',\n    paypalURL: 'https://paypal.me/bevry',\n    paypalButtonID: 'QB8GQPZAH84N6', // another option instead of paypalURL\n    paypalUsername: 'bevry', // another option instead of paypalURL\n    bitcoinURL: 'https://bevry.me/bitcoin',\n    wishlistURL: 'https://bevry.me/wishlist',\n\n    slackinURL: 'https://slack.bevry.me',\n    gaTrackingID: 'UA-XXXXX-XX',\n    homepage: 'https://bevry.me',\n    facebookApplicationID: '123123',\n    facebookUsername: 'balupton',\n    twitterUsername: 'bevryme',\n    githubUsername: 'balupton',\n    quoraUsername: 'Benjamin-Lupton',\n    quoraRealname: 'Benjamin Arthur Lupton', // optional, will extract from username\n}\n\n// Options for rendering the badges\nconst options = {\n    // Filter Category\n    // When set to a string, will only render badges from the list that of the specified category\n    // Values can be 'development', 'testing', 'funding', or 'social'\n    // E.g. to render only funding badges, set to 'funding'\n    filterCategory: false,\n\n    // Filter Scripts\n    // When true, do not render any badges from the list that are scripts\n    filterScripts: false,\n}\n\n// Render the badges to a string\nconst result = renderBadges(list, config, options)\n\n// Output the result\nconsole.log(result)\n```\n\nIf you want to render badges inside your own project's readme files, check out the meta builder [projectz](https://github.com/bevry/projectz) which uses this package for badge rendering.\n\n[Not all the badges are showcased in the above example. Browse the Complete API Documentation instead.](http://master.badges.bevry.surge.sh/docs/)\n\n<!-- INSTALL/ -->\n\n## Install\n\n### [npm](https://npmjs.com \"npm is a package manager for javascript\")\n\n-   Install: `npm install --save badges`\n-   Import: `import * as pkg from ('badges')`\n-   Require: `const pkg = require('badges')`\n\n### [Deno](https://deno.land \"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js\")\n\n``` typescript\nimport * as pkg from 'https://unpkg.com/badges@^4.40.0/edition-deno/index.ts'\n```\n### [Skypack](https://www.skypack.dev \"Skypack is a JavaScript Delivery Network for modern web apps\")\n\n``` html\n<script type=\"module\">\n    import * as pkg from '//cdn.skypack.dev/badges@^4.40.0'\n</script>\n```\n### [unpkg](https://unpkg.com \"unpkg is a fast, global content delivery network for everything on npm\")\n\n``` html\n<script type=\"module\">\n    import * as pkg from '//unpkg.com/badges@^4.40.0'\n</script>\n```\n### [jspm](https://jspm.io \"Native ES Modules CDN\")\n\n``` html\n<script type=\"module\">\n    import * as pkg from '//dev.jspm.io/badges@4.40.0'\n</script>\n```\n### [Editions](https://editions.bevry.me \"Editions are the best way to produce and consume packages you care about.\")\n\nThis package is published with the following editions:\n-   `badges/source/index.ts` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") source code with [Import](https://babeljs.io/docs/learn-es2015/#modules \"ECMAScript Modules\") for modules\n-   `badges/edition-browsers/index.js` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 \"ECMAScript 2022\") for web browsers with [Import](https://babeljs.io/docs/learn-es2015/#modules \"ECMAScript Modules\") for modules\n-   `badges` aliases `badges/edition-es2022/index.js`\n-   `badges/edition-es2022/index.js` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 \"ECMAScript 2022\") for [Node.js](https://nodejs.org \"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\") 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html \"Node/CJS Modules\") for modules\n-   `badges/edition-es2022-esm/index.js` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 \"ECMAScript 2022\") for [Node.js](https://nodejs.org \"Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine\") 12 || 14 || 16 || 18 || 20 || 21 with [Import](https://babeljs.io/docs/learn-es2015/#modules \"ECMAScript Modules\") for modules\n-   `badges/edition-types/index.d.ts` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") compiled Types with [Import](https://babeljs.io/docs/learn-es2015/#modules \"ECMAScript Modules\") for modules\n-   `badges/edition-deno/index.ts` is [TypeScript](https://www.typescriptlang.org/ \"TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.\") source code made to be compatible with [Deno](https://deno.land \"Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js\")\n\n<!-- /INSTALL -->\n\n<!-- HISTORY/ -->\n\n## History\n\n[Discover the release history by heading on over to the `HISTORY.md` file.](https://github.com/bevry/badges/blob/HEAD/HISTORY.md#files)\n\n<!-- /HISTORY -->\n\n\n### Adding a badge\n\nIf you there is a badge that you believe will be common enough for others to benefit from, send in a pull request. Each pull request should:\n\n1. [Add the badge rendering code to the appropriate category section inside `source/badges.js`](https://github.com/bevry/badges/blob/master/source/badges.js)\n1. If your badge requires a script to run, it should have `badgeScript = true` - see other badges for an example\n1. [Also remember to export your badge](https://github.com/bevry/badges/blob/0b4aab710fc676f635e49e702960db0d151a12d5/source/badges.js#L667-L668)\n1. [Add the badges test data to the test file `source/test.js`](https://github.com/bevry/badges/blob/master/source/test.js)\n1. [Add the badge configuration information to this readme file `README.md`](https://github.com/bevry/badges/blob/master/README.md)\n1. [Add the badge name to the `keyword` field of `package.json`](https://github.com/bevry/badges/blob/master/package.json)\n\nThese changes can be done in multiple commits or the same, it doesn't matter, as we will squash the commits on merge. We will also the changelog entry, so you don't need to do.\n\n<!-- BACKERS/ -->\n\n## Backers\n\n### Code\n\n[Discover how to contribute via the `CONTRIBUTING.md` file.](https://github.com/bevry/badges/blob/HEAD/CONTRIBUTING.md#files)\n\n#### Authors\n\n-   [Benjamin Lupton](https://balupton.com) — Accelerating collaborative wisdom.\n\n#### Maintainers\n\n-   [Benjamin Lupton](https://balupton.com) — Accelerating collaborative wisdom.\n\n#### Contributors\n\n-   [Benjamin Lupton](https://github.com/balupton) — [view contributions](https://github.com/bevry/badges/commits?author=balupton \"View the GitHub contributions of Benjamin Lupton on repository bevry/badges\")\n-   [Richard Walker](https://github.com/digitalsadhu) — [view contributions](https://github.com/bevry/badges/commits?author=digitalsadhu \"View the GitHub contributions of Richard Walker on repository bevry/badges\")\n\n### Finances\n\n<span class=\"badge-githubsponsors\"><a href=\"https://github.com/sponsors/balupton\" title=\"Donate to this project using GitHub Sponsors\"><img src=\"https://img.shields.io/badge/github-donate-yellow.svg\" alt=\"GitHub Sponsors donate button\" /></a></span>\n<span class=\"badge-thanksdev\"><a href=\"https://thanks.dev/u/gh/bevry\" title=\"Donate to this project using ThanksDev\"><img src=\"https://img.shields.io/badge/thanksdev-donate-yellow.svg\" alt=\"ThanksDev donate button\" /></a></span>\n<span class=\"badge-patreon\"><a href=\"https://patreon.com/bevry\" title=\"Donate to this project using Patreon\"><img src=\"https://img.shields.io/badge/patreon-donate-yellow.svg\" alt=\"Patreon donate button\" /></a></span>\n<span class=\"badge-liberapay\"><a href=\"https://liberapay.com/bevry\" title=\"Donate to this project using Liberapay\"><img src=\"https://img.shields.io/badge/liberapay-donate-yellow.svg\" alt=\"Liberapay donate button\" /></a></span>\n<span class=\"badge-buymeacoffee\"><a href=\"https://buymeacoffee.com/balupton\" title=\"Donate to this project using Buy Me A Coffee\"><img src=\"https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg\" alt=\"Buy Me A Coffee donate button\" /></a></span>\n<span class=\"badge-opencollective\"><a href=\"https://opencollective.com/bevry\" title=\"Donate to this project using Open Collective\"><img src=\"https://img.shields.io/badge/open%20collective-donate-yellow.svg\" alt=\"Open Collective donate button\" /></a></span>\n<span class=\"badge-crypto\"><a href=\"https://bevry.me/crypto\" title=\"Donate to this project using Cryptocurrency\"><img src=\"https://img.shields.io/badge/crypto-donate-yellow.svg\" alt=\"crypto donate button\" /></a></span>\n<span class=\"badge-paypal\"><a href=\"https://bevry.me/paypal\" title=\"Donate to this project using Paypal\"><img src=\"https://img.shields.io/badge/paypal-donate-yellow.svg\" alt=\"PayPal donate button\" /></a></span>\n\n#### Sponsors\n\n-   [Andrew Nesbitt](https://nesbitt.io) — Software engineer and researcher\n-   [Balsa](https://balsa.com) — We're Balsa, and we're building tools for builders.\n-   [Codecov](https://codecov.io) — Empower developers with tools to improve code quality and testing.\n-   [Poonacha Medappa](https://poonachamedappa.com)\n-   [Rob Morris](https://github.com/Rob-Morris)\n-   [Sentry](https://sentry.io) — Real-time crash reporting for your web apps, mobile apps, and games.\n-   [Syntax](https://syntax.fm) — Syntax Podcast\n\n#### Donors\n\n-   [Andrew Nesbitt](https://nesbitt.io)\n-   [Armen Mkrtchian](https://mogoni.dev)\n-   [Balsa](https://balsa.com)\n-   [Chad](https://opencollective.com/chad8)\n-   [Codecov](https://codecov.io)\n-   [dr.dimitru](https://veliovgroup.com)\n-   [Elliott Ditman](https://elliottditman.com)\n-   [entroniq](https://gitlab.com/entroniq)\n-   [GitHub](https://github.com/about)\n-   [Hunter Beast](https://cryptoquick.com)\n-   [Jean-Luc Geering](https://github.com/jlgeering)\n-   [Michael Duane Mooring](https://mdm.cc)\n-   [Michael Harry Scepaniak](https://michaelscepaniak.com)\n-   [Mohammed Shah](https://github.com/smashah)\n-   [Mr. Henry](https://mrhenry.be)\n-   [Nermal](https://arjunaditya.vercel.app)\n-   [Pleo](https://pleo.io)\n-   [Poonacha Medappa](https://poonachamedappa.com)\n-   [Rob Morris](https://github.com/Rob-Morris)\n-   [Robert de Forest](https://github.com/rdeforest)\n-   [Sentry](https://sentry.io)\n-   [ServieJS](https://github.com/serviejs)\n-   [Skunk Team](https://skunk.team)\n-   [Syntax](https://syntax.fm)\n-   [WriterJohnBuck](https://github.com/WriterJohnBuck)\n\n<!-- /BACKERS -->\n\n<!-- LICENSE/ -->\n\n## License\n\nUnless stated otherwise all works are:\n\n-   Copyright &copy; [Benjamin Lupton](https://balupton.com)\n\nand licensed under:\n\n-   [Artistic License 2.0](http://spdx.org/licenses/Artistic-2.0.html)\n\n<!-- /LICENSE -->\n","publish_time":1485429934261,"_cnpm_publish_time":1485429934261,"dist-tags":{"latest":"4.40.0","next":"4.40.0-next.1703843974.17da6f2901afc92ac9bacfbdd22aec203ac3c430"}}