Developers get real numbers on JavaScript library usage

Developers get real numbers on JavaScript library usage

Libscore crawls the top million websites to gather and track information on which JavaScript libraries are being used

Open source developers interested in gauging usage of JavaScript libraries across the Web now can find out via Libscore, an online service being launched this week.

Built by developers Julian Shapiro and Thomas Davis, Libscore features a search engine tracking JavaScript libraries. "Every month, it crawls the top million sites on the Web according to traffic rankings," Shapiro said in an interview. For each site crawled, a few queries are run in real time; these queries help determine which third-party JavaScript libraries are in use on that Web page.

"Once this whole scan runs -- and it takes approximately 38 hours -- we aggregate that data and publicize it for anyone to use freely on," said Shapiro. Libscore detects modules loaded via RequireJS, JQuery plug-ins, window variables from non-JQuery libraries, and external scripts, a Web page introducing the site notes.

For developers, Libscore provides a transparent view into usage of a library, whereas previously, developers looking to assess library usage have been limited to looking at star counts on GitHub. "Of course, that star count is very limited and indirect," said Shapiro. "It doesn't really tell you anything other than how many people decided to hit the star button." Libscore could serve to motivate developers by giving them tangible feedback on who is using their work, he said.

Positioned as offering "the current state of JavaScript," Libscore provides competitive analysis of library usage, such as comparing Angular and Backbone, said Shapiro, author of the Velocity.js JavaScript library. Developers can get real numbers and make judgments on which library to use for their own projects, he said.

Libscore was launched as an open source project in partnership with payments processor and cloud services provider DigitalOcean.

Join the CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.

Join the CIO newsletter!

Error: Please check your email address.

Tags application developmentLibscoreLanguages and standardsGitHubsoftwarejavascript

More about BackboneBuiltStripe

Show Comments

Market Place