Comments (3)
Hi Oskar, please see #7 (comment) and #6. I'd recommend using Algolia search in this case. As I mentioned on Twitter, I'll be happy to help you with this if needed.
In theory, we could add an endpoint for searching, which would proxy requests to Algolia - it would probably be slightly easier to use, but would have significantly higher latency and therefore worse UX. Let me know what you think.
from data.jsdelivr.com.
TIL searching by package name is also possible directly via the public npmjs registry API: https://registry.npmjs.org/-/v1/search?text=jquery
Documentation: https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md#get-v1search
We should probably mention this in our readme so that people find this easier in the future, and consider this problem solved.
from data.jsdelivr.com.
Added to the readme. @oskarkrawczyk let me know if you have any other questions.
from data.jsdelivr.com.
Related Issues (20)
- Add LICENSE HOT 3
- API CORS access issue via ByWave VPN HOT 6
- System Down? HOT 2
- Support tag based file list lookups for listing package files HOT 2
- Support requesting only tags or versions on an npm versions list HOT 4
- 500 Error when we trying to use packet info HOT 4
- Add CORS preflight support for `v1/package/resolve/npm/x` HOT 5
- Day Badge Shows 0 hits from several days HOT 1
- How could I refresh my CDN cache? HOT 2
- Website and CDN unavailable HOT 1
- Download stats for custom CDN endpoints HOT 11
- Missing CORS header in Hong Kong HOT 4
- Add CONTRIBUTING.md and CODE_OF_CONDUCT.md file
- Cannot fetch with named version a.k.a `@latest` HOT 1
- Incorrectly showing CSS file HOT 2
- Add json to supported entrypoints HOT 1
- Add logs for scheduled events
- 502 Errors for Package Metadata HOT 1
- Server incorrectly advertises HTTP/3 support HOT 3
- Add owner data and allow filtering stats by owner
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data.jsdelivr.com.