All Projects → bevry → Badges

bevry / Badges

Licence: other
The definitive rendering collection of badges

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Badges

Stackdriver Errors Js
Client-side JavaScript exception reporting library for Stackdriver Error Reporting
Stars: ✭ 291 (+206.32%)
Mutual labels:  client-side
Navaid
A navigation aid (aka, router) for the browser in 850 bytes~!
Stars: ✭ 648 (+582.11%)
Mutual labels:  client-side
Css Vars Ponyfill
Client-side support for CSS custom properties (aka "CSS variables") in legacy and modern browsers
Stars: ✭ 1,166 (+1127.37%)
Mutual labels:  client-side
Librarymanager
Stars: ✭ 330 (+247.37%)
Mutual labels:  client-side
Jquery Scrollto
jQuery ScrollTo - Smooth Scrolling to any jQuery/DOM Element
Stars: ✭ 363 (+282.11%)
Mutual labels:  client-side
Mycrypto
MyCrypto is an open-source tool that allows you to manage your Ethereum accounts privately and securely. Developed by and for the community since 2015, we’re focused on building awesome products that put the power in people’s hands.
Stars: ✭ 889 (+835.79%)
Mutual labels:  client-side
domain-browser
Node's domain module for the web browser
Stars: ✭ 30 (-68.42%)
Mutual labels:  client-side
Quell
Quell is an easy-to-use, lightweight JavaScript library providing a client- and server-side caching solution for GraphQL. Use Quell to prevent redundant client-side API requests and to minimize costly server-side response latency.
Stars: ✭ 90 (-5.26%)
Mutual labels:  client-side
Cs Checklist
PC客户端(C-S架构)渗透测试checklist / Client side(C-S) penetration checklist
Stars: ✭ 378 (+297.89%)
Mutual labels:  client-side
Schannel Qt5
A GUI client of schannel powered by therecipe/qt and golang
Stars: ✭ 36 (-62.11%)
Mutual labels:  client-side
Caterpillar
Caterpillar is the ultimate logging system for Deno, Node.js, and Web Browsers. Log levels are implemented to the RFC standard. Log entries can be filtered and piped to various streams, including coloured output to the terminal, the browser's console, and debug files. You can even write your own transforms.
Stars: ✭ 330 (+247.37%)
Mutual labels:  client-side
Agollo
🚀Go client for ctrip/apollo (https://github.com/ctripcorp/apollo)
Stars: ✭ 348 (+266.32%)
Mutual labels:  client-side
Hat.sh
encrypt and decrypt files in your browser. Fast, Secure client-side File Encryption and Decryption using the web crypto api
Stars: ✭ 886 (+832.63%)
Mutual labels:  client-side
Coisas
a client-side CMS for editing GitHub Markdown (and other) files ⛺
Stars: ✭ 292 (+207.37%)
Mutual labels:  client-side
Kanban Board
A sample application demonstrating a basic kanban board, seeded with vue-cli
Stars: ✭ 76 (-20%)
Mutual labels:  client-side
PaystackJS-Sample-code
Bare Paystack JS implementation. Style pay.html as required
Stars: ✭ 15 (-84.21%)
Mutual labels:  client-side
Logbook
An extensible Java library for HTTP request and response logging
Stars: ✭ 822 (+765.26%)
Mutual labels:  client-side
Jquery Lightbox
Superseded by Fancybox: https://fancyapps.com/fancybox/3/
Stars: ✭ 90 (-5.26%)
Mutual labels:  client-side
Nopaste
📋 Client-side paste service
Stars: ✭ 79 (-16.84%)
Mutual labels:  client-side
Guardedbox
Online client-side manager for secure storage and secrets sharing.
Stars: ✭ 34 (-64.21%)
Mutual labels:  client-side

badges

NPM version NPM downloads Dependency Status Dev Dependency Status
GitHub Sponsors donate button Patreon donate button Flattr donate button Liberapay donate button Buy Me A Coffee donate button Open Collective donate button crypto donate button PayPal donate button Wishlist browse button

The definitive collection of badges for rendering

Usage

Complete API Documentation.

import { renderBadges } from 'badges'

// Listing of badges to output
const list = [
    // Custom Badges
    ['badge', { image: 'image', alt: 'alt' }],
    ['badge', { image: 'image', alt: 'alt', url: 'url', title: 'title' }],
    [
        'shields',
        {
            left: 'left',
            right: 'right',
            alt: 'alt',
            url: 'url',
            title: 'title',
        },
    ],
    [
        'shields',
        {
            left: 'left',
            right: 'right',
            color: 'red',
            alt: 'alt',
            url: 'url',
            title: 'title',
        },
    ],
    '---',
    // Development Badges
    'npmversion',
    'npmdownloads',
    'daviddm',
    'daviddmdev',
    'nodeico',
    '---',
    // Testing Badges
    'saucelabsbm',
    'saucelabs',
    'travisci',
    'codeship',
    'coveralls',
    'codeclimate',
    'bithound',
    'waffle',
    '---',
    // Funding Badges
    'sixtydevstips',
    'patreon',
    'opencollective',
    'gratipay',
    'flattr',
    'paypal',
    'bitcoin',
    'wishlist',
    '---',
    // Social Badges
    'slackinscript',
    'slackin',
    'gabeacon',
    'googleplusone',
    'redditsubmit',
    'hackernewssubmit',
    'facebooklike',
    'facebookfollow',
    'twittertweet',
    'twitterfollow',
    'githubfollow',
    'githubstar',
    'quorafollow',
]

// Configuration for the badges
const config = {
    npmPackageName: 'badges',

    saucelabsUsername: 'bevry',
    saucelabsAuthToken: '123',
    codeshipProjectUUID: '123',
    codeshipProjectID: '123',
    githubSlug: 'bevry/badges',
    nodeicoQueryString: { downloads: true, compact: true, height: 2 },

    sixtydevstipsID: 'd2dcf439c9759e88f3ccec1cef394c10',
    patreonUsername: 'bevry',
    opencollectiveUsername: 'bevry',
    gratipayUsername: 'bevry',
    flattrUsername: 'balupton',
    paypalURL: 'https://paypal.me/bevry',
    paypalButtonID: 'QB8GQPZAH84N6', // another option instead of paypalURL
    paypalUsername: 'bevry', // another option instead of paypalURL
    bitcoinURL: 'https://bevry.me/bitcoin',
    wishlistURL: 'https://bevry.me/wishlist',

    slackinURL: 'https://slack.bevry.me',
    gaTrackingID: 'UA-XXXXX-XX',
    homepage: 'https://bevry.me',
    facebookApplicationID: '123123',
    facebookUsername: 'balupton',
    twitterUsername: 'bevryme',
    githubUsername: 'balupton',
    quoraUsername: 'Benjamin-Lupton',
    quoraRealname: 'Benjamin Arthur Lupton', // optional, will extract from username
}

// Options for rendering the badges
const options = {
    // Filter Category
    // When set to a string, will only render badges from the list that of the specified category
    // Values can be 'development', 'testing', 'funding', or 'social'
    // E.g. to render only funding badges, set to 'funding'
    filterCategory: false,

    // Filter Scripts
    // When true, do not render any badges from the list that are scripts
    filterScripts: false,
}

// Render the badges to a string
const result = renderBadges(list, config, options)

// Output the result
console.log(result)

If you want to render badges inside your own project's readme files, check out the meta builder projectz which uses this package for badge rendering.

Not all the badges are showcased in the above example. Browse the Complete API Documentation instead.

Install

npm

  • Install: npm install --save badges
  • Import: import * as pkg from ('badges')
  • Require: const pkg = require('badges')

Deno

import * as pkg from 'https://unpkg.com/[email protected]^4.24.0/edition-deno/index.ts'

Skypack

<script type="module">
    import * as pkg from '//cdn.skypack.dev/[email protected]^4.24.0'
</script>

unpkg

<script type="module">
    import * as pkg from '//unpkg.com/[email protected]^4.24.0'
</script>

jspm

<script type="module">
    import * as pkg from '//dev.jspm.io/[email protected]'
</script>

Editions

This package is published with the following editions:

  • badges/source/index.ts is TypeScript source code with Import for modules
  • badges/edition-browsers/index.js is TypeScript compiled against ES2019 for web browsers with Import for modules
  • badges aliases badges/edition-es2017/index.js
  • badges/edition-es2017/index.js is TypeScript compiled against ES2017 for Node.js 10 || 12 || 14 || 15 with Require for modules
  • badges/edition-es2017-esm/index.js is TypeScript compiled against ES2017 for Node.js 12 || 14 || 15 with Import for modules
  • badges/edition-deno/index.ts is TypeScript source code made to be compatible with Deno

History

Discover the release history by heading on over to the HISTORY.md file.

Contribute

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

Adding a badge

If 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:

  1. Add the badge rendering code to the appropriate category section inside source/badges.js
  2. If your badge requires a script to run, it should have badgeScript = true - see other badges for an example
  3. Also remember to export your badge
  4. Add the badges test data to the test file source/test.js
  5. Add the badge configuration information to this readme file README.md
  6. Add the badge name to the keyword field of package.json

These 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.

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

No sponsors yet! Will you be the first?

GitHub Sponsors donate button Patreon donate button Flattr donate button Liberapay donate button Buy Me A Coffee donate button Open Collective donate button crypto donate button PayPal donate button Wishlist browse button

Contributors

These amazing people have contributed code to this project:

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

License

Unless stated otherwise all works are:

and licensed under:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].