aframe-registry
aframe-registry copied to clipboard
unpkg lookup tool
A common workflow I have is I know a component I want, and want to grab the latest unpkg build. Normally, I type in the url unpkg.com/<npmName>/
, and go through the index directory, and find the JS file to copy the link of.
I want to add a separate page that just has a search box. In the search box, you type in component names or component npm names. A list will populate providing minified JS files from unpkg.com.
e.g., Search: [log]
[Copy] https://unpkg.com/[email protected]/dist/aframe-log-component.min.js [Copy] https://unpkg.com/[email protected]/dist/aframe-log-component.min.js [Copy] https://unpkg.com/[email protected]/dist/aframe-log-component.min.js
It could live on like aframe.io/registry/search
with a section for unpkg.
Prototype at https://ngokevin.github.io/aframe-unpkg-lookup/