cdnjs / cdnjs/api-server

Query by file type

Open
#36 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement hacktoberfest help wanted
Dominant language
TypeScript
Stars
121
Forks
42
Avg merge
18h 36m
Merged PRs (30d)
14

Description

Hello, is there any way to filter by file type?
Like this:
https://api.cdnjs.com/libraries?fileType=css

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the API handler for library listing requests and any existing query-parameter filtering. Check how the endpoint currently returns library files and whether request tests cover filters. Done means a fileType=css query returns only matching libraries or files, with appropriate behavior for unsupported types.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.