New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jquery-nodeico

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery-nodeico

A jQuery plugin to display your Node Modules on NPM.

0.4.1
latest
npm
Version published
Maintainers
1
Created
Source

A jQuery plugin to display your Node Modules on NPM.

Getting started

Three quick start options are available:

  • Download latest release
  • Clone the repo: git@github.com:vieiralucas/jquery-nodeico.git
  • Install with Bower: bower install jquery-nodeico

Setup

Use Bower to fetch all dependencies:

$ bower install

Now you're ready to go!

Usage

HTML

<div id="example"></div>

Include jQuery:

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>

Include plugin's JS:

<script src="jquery.nodeico.min.js"></script>

Call the plugin:

$("#example").nodeico();

Check full example's source code.

Options

Here's a list of available settings.

$("#example").nodeico({
    name: 'some-node-module',
    type:  'standard',
    downloads:  true,
    rank: true,
    stars: true
});
AttributeTypeDefaultDescription
nameStringjquery-nodeicoThe name of the node module.
typeStringstandardHow is the badge ('standard', 'mini', 'compact', 'histogram').
downloadsBooleanfalseDisplays the number of downloads that the module has.
rankBooleanfalseDisplays the download rank of the module.
starsBooleanfalseDisplays the number of stars that the module has.
monthsNumber1How many months ago should display ('12', '9', '6', '3', '1').
heightNumber1The height of the histograms, there are 3 heights ('1', '2', '3')

Credits

Built on top of nodei.co.

Used jQuery Boilerplate to generate the structure.

License

MIT License © Lucas Vieira

FAQs

Package last updated on 01 Nov 2014

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