JavaScript library usage stats.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md

README.md

Libscore.com

Learn

To learn about Libscore, read the full overview.

For Libscore's API documentation, see below.

Help Wanted: Assign libraries to their official pages

You're reading this because Libscore needs your help associating the library you clicked on with its corresponding Github page (or company domain in the case of an external script). To help us locate the Github page for a JavaScript library, see this thread.

Or, to help us whitelist a popular library that Libscore is failing to detect, see this thread.

Thanks

Take a moment to thank Libscore's sponsors on Twitter: @Stripe and @DigitalOcean!

--

Badges

Feel free to embed a Libscore badge which uses the shields.io API. Create an issue to give feedback on badges.

Simply replace {{library}} with a matching name from libscore.com

http://api.libscore.com/badge/{{library}}.svg

Embed just the badge and no link

![](http://api.libscore.com/badge/jQuery.svg)

Link to Libscore results

[![](http://api.libscore.com/badge/jQuery.svg)](http://libscore.com#jQuery)

Embed badge on HTML page

<a href="http://libscore.com#jQuery"><img src="http://api.libscore.com/badge/jQuery.svg" /></a>

API

The Libscore API is freely available to use within constraints due to the project being a non for profit. The API is relativly simple so we don't expect to release breaking changes often, when we do the API will be shifted to v2.

Endpoints

Endpoint Description Example
GET - /v1/libraries Get a full list of libraries Example
GET - /v1/libraries/:library Get an individual library Example
GET - /v1/sites Get a full list of sites Example
GET - /v1/sites/:site Get an individual site Example
GET - /v1/scripts Get a full list of scripts Example
GET - /v1/scripts/:script Get an individual site Example

Libraries

To get the full list of libraries

GET http://api.libscore.com/v1/libraries
Parameters:
  • limit - Specify the number of results to return e.g. ?limit=500
  • skip - Specify the number of results to skip, useful for pagination e.g. ?skip=50

Individual Library

To get the full details of a library

GET http://api.libscore.com/v1/libraries/:library
Parameters:
  • limit - Specify the number of top sites to return e.g. ?limit=500
Examples:
GET http://api.libscore.com/v1/libraries/jQuery
// Get full data about JQuery

GET http://api.libscore.com/v1/libraries/$.fn.velocity
// Get full data about Velocity.js


Sites

To get the full list of sites

GET http://api.libscore.com/v1/sites
Parameters:
  • limit - Specify the number of results to return e.g. ?limit=500
  • skip - Specify the number of results to skip, useful for pagination e.g. ?skip=50

Individual Site

To get the full list of sites

GET http://api.libscore.com/v1/sites/:site
Parameters:
  • limit - Specify the number of results to return e.g. ?limit=500
  • skip - Specify the number of results to skip, useful for pagination e.g. ?skip=50
Examples:
GET http://api.libscore.com/v1/sites/tumblr.com
// Get full data about the website tumblr.com

Scripts

To get the full list of scripts

GET http://api.libscore.com/v1/scripts
Parameters:
  • limit - Specify the number of results to return e.g. ?limit=500
  • skip - Specify the number of results to skip, useful for pagination e.g. ?skip=50

Individual Script

To get the full list of scripts

GET http://api.libscore.com/v1/scripts/:script
Parameters:
  • limit - Specify the number of results to return e.g. ?limit=500
  • skip - Specify the number of results to skip, useful for pagination e.g. ?skip=50
Examples:
GET http://api.libscore.com/v1/scripts/cdnjs.cloudflare.com
// Get full data about the website cdnjs.cloudflare.com