Socket
Book a DemoInstallSign in
Socket

stackoverflow-card

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stackoverflow-card

Stackoverflow profile summary card widget

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

stackoverflow-card

Embed your Stackoverflow account summary into your website using these beautiful cards. screenshot

Usage

Insert the following tag in your document where you wish to include the card. This card occupies available parent container's width, so give some meaningful width to the parent element.

<div id="so-card-widget" data-userid="1482899" data-theme="default"></div>
  • data-userid must be your stackoverflow user id(you can find that in your stackoverflow profile url).
  • data-theme is the name of the theme you wish to use (default or minimal or custom). If no theme is specified the default theme default is used.

In addition to that you need to include the following script tag & voila !

<script type="text/javascript" src="//mudassir0909.github.io/stackoverflow-card/dist/1.0.0/so-card-widget.min.js"></script>

Look and feel Customization

The card supports two themes out of the box

default

Default Theme

minimal

This removes profile picture from the card

screenshot

custom

When you specify this as an option. The stylesheet related to this card is not downloaded. You have to specify your own styles based on the class names(Find out using chrome element inspector)

Note

These cards are not inserted using iframe, so change the look and feel as you like using your website's css. You can find the css here. Feel free to override them classes !

Keywords

stackoverflow

FAQs

Package last updated on 12 Jan 2015

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.