Cdnjs Libraries Scraper avatar

Cdnjs Libraries Scraper

Pricing

from $2.99 / 1,000 results

Go to Apify Store
Cdnjs Libraries Scraper

Cdnjs Libraries Scraper

This Actor collects open-source JavaScript, CSS, and font library metadata from cdnjs based on search queries or library names. It extracts library names, descriptions, latest and historical versions, CDN asset URLs,

Pricing

from $2.99 / 1,000 results

Rating

0.0

(0)

Developer

Zoro

Zoro

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

cdnjs Libraries Scraper — Search and Collect CDN Library Metadata

cdnjs Libraries Scraper cover

cdnjs Libraries Scraper collects publicly available JavaScript library search results from cdnjs. Search by keyword, select the information you want to retrieve, and build a structured dataset containing library names, versions, CDN file locations, descriptions, and GitHub statistics.

What It Does

The scraper searches cdnjs libraries using your chosen keyword and collects matching library records. You can customize the requested fields and control the maximum number of results per run.

Each record can include the library name, latest asset location, version, description, and available GitHub statistics.

Features

  • Search CDN libraries using keywords.
  • Collect library names and latest versions.
  • Retrieve latest CDN asset locations.
  • Capture library descriptions.
  • Collect GitHub repository information and statistics.
  • Customize the fields included in search results.
  • Skip duplicate library names during a run.
  • Set a maximum number of records to collect.
  • Export results in JSON, CSV, Excel, and other supported formats.

Search Mode

Search: Searches cdnjs libraries using the supplied keyword and collects matching library information.

Input Parameters

ParameterDescription
modeSearch mode. Use search.
searchKeyword used to find CDN libraries.
fieldsComma-separated list of fields to retrieve, such as version,description,github.
maxItemsMaximum number of library records to collect, up to 1,000.
requestDelaySecsDelay between requests in seconds. Example: 1.

Input Example

{
"mode": "search",
"search": "python",
"fields": "version,description,github",
"maxItems": 50,
"requestDelaySecs": 1
}

Output Fields

FieldDescription
nameCDN library name.
latestLocation of the latest available library asset.
versionLatest library version.
libraryDescriptionDescription of the library.
githubGitHub repository information, including repository name, owner, stars, forks, and subscribers.
scrapedAtDate and time when the record was collected.

Output Example

{
"name": "ccxt",
"latest": "https://cdnjs.cloudflare.com/ajax/libs/ccxt/4.5.88/ccxt.browser.min.js",
"version": "4.5.88",
"libraryDescription": "A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 130+ exchanges",
"github": {
"repo": "ccxt",
"user": "ccxt",
"stargazers_count": 44394,
"forks": 8897,
"subscribers_count": 951
},
"scrapedAt": "2026-10-26T00:00:00+00:00"
}

Use Cases

  • CDN Library Research: Collect library names, versions, descriptions, and repository statistics for a specific keyword.
  • Dependency Monitoring: Track library versions and related information through recurring searches.
  • Library Catalog Management: Build a searchable catalog of CDN-hosted libraries.
  • GitHub Research: Review repository popularity through available stars, forks, and subscriber counts.
  • Dashboard Development: Use structured library information in reports and monitoring dashboards.

Exporting Data

All collected records are stored in an Apify dataset. You can export the results in:

  • JSON
  • CSV
  • Excel
  • Other supported Apify dataset formats

FAQ

Who can use this scraper?

Frontend developers, JavaScript developers, researchers, and analysts interested in CDN-hosted libraries.

Can I search for a specific library?

Yes. Enter a keyword in the search parameter to find matching libraries.

Can I choose which fields to collect?

Yes. Use the fields parameter to specify the information you want returned, such as version, description, and GitHub statistics.

Does it collect GitHub statistics?

Yes. When available and requested, the results can include repository information, stars, forks, and subscribers.

Can I run it on a schedule?

Yes. You can use Apify schedules to refresh library search results periodically.

How many libraries can it collect per run?

You can collect up to 1,000 records using maxItems.

Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same as republishing someone's article or photo.

This actor collects information from public pages. It does not log in and it does not bypass access controls.

For a longer explanation, see Apify's article Is web scraping legal?.