Comments (5)
So on taking a look at this Yarn
already by default provides unpkg
and jsDelivr
, both of which are cdns
available for open source projects. We can use these instead of building a cdn. Take a look at https://yarnpkg.com/package/wikipedia to see the links we get by default. You can see how to use jsDelivr
by taking a look at this link - https://www.jsdelivr.com/features .
With these features available by default we can use this and not spend time on creating another cdn.
from wikipedia.
You can import the package and use it directly if you are using react, angular or similar frameworks.
The same documentation will work for that as well.
from wikipedia.
What about a CDN? For the project I'm working on, Iām not using any frameworks.
from wikipedia.
I like the idea of having a cdn that can make life easier to use directly in HTML files or script tags.
Perhaps we could use a framework like https://github.com/cdnjs/cdnjs which will make the process of delivery and updating much easier.
To answer the question, we don't have a cdn file available now but it is something we should definitely consider doing as it will increase the overall useability of the project.
from wikipedia.
I like the idea of having a cdn that can make life easier to use directly in HTML files or script tags.
Perhaps we could use a framework like https://github.com/cdnjs/cdnjs which will make the process of delivery and updating much easier.
To answer the question, we don't have a cdn file available now but it is something we should definitely consider doing as it will increase the overall useability of the project.
Thank you!
from wikipedia.
Related Issues (20)
- Failing coverage check on forked Pull Requests HOT 3
- Implement pdf api
- Won't load in a secure context (https) HOT 1
- Implement generate citation data
- Use encodeUriComponent() instead of encodeURI() for better encoding for search params HOT 2
- Incorrect data parsed from Infobox HOT 2
- Implement featured content api
- Stray console.log HOT 3
- CORS error fetching summary in Firefox HOT 7
- Error with proxy HOT 2
- Dropping support for node 10, 12 HOT 4
- Move from node-fetch to got,ky or axios HOT 2
- When I attempt to make multiple requests at once I get a lot of PageErrors (parallel or sequential) even on valid items HOT 1
- Allow customization of USER_AGENT
- How do I pass page url instead of page text? HOT 1
- Error using page() to get infobox() HOT 4
- Ability to get a page from URL, not only the title and pageId HOT 3
- Using `instanceof` to detect a `pageError`
- Invalid infobox value for https://fr.wikipedia.org/wiki/Marseille
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 wikipedia.