aframe-registry icon indicating copy to clipboard operation
aframe-registry copied to clipboard

unpkg lookup tool

Open ngokevin opened this issue 7 years ago • 1 comments

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.

ngokevin avatar Jun 19 '17 21:06 ngokevin

Prototype at https://ngokevin.github.io/aframe-unpkg-lookup/

ngokevin avatar Jun 19 '17 23:06 ngokevin