// .changeset/config { "$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json", "changelog": "@changesets/cli/changelog", "commit": false, "fixed": [], "linked": [], "access": "public", // Para publicar publicamente, defina como `public` "baseBranch": "main", // Defina com o nome da sua branch principal "updateInternalDependencies": "patch", "ignore": [] }. - Source: dev.to / about 1 month ago
On platform that doesn't support browser extension (such as Google Chrome Android), you can run YouTube Musical Spectrum [1] using one of these bookmarklets: javascript:import("https://cdn.jsdelivr.net/npm/@mfcc64/ytms/script.mjs")- Source: Hacker News / 4 months agojavascript:import("https://unpkg.com/@mfcc64/ytms/script.mjs").
CLI downloads minimized versions of htmx and hyperscript (from official and trusted unpkg.com CDN) to the ./static folder and places them as separated. - Source: dev.to / 7 months ago
And the controls seem to be made with https://github.com/timmywil/panzoom:- Source: Hacker News / 8 months ago.
Https://unpkg.com/: Seems to just provide the npm entry files straight up. Can’t use. Source: 8 months ago
Thanks! If you’ve got a way to add node packages to your frontend then it is pretty straightforward. If not, using unpkg (https://unpkg.com/) in a script tag should work. Happy to help you figure it out! Post in the discussion board on GitHub or email me (address on the website). - Source: Hacker News / 8 months ago
I had been using unpkg.com for a lot of the modules & web components / custom elements I used instead of having to npm I everything and wanted to be able to use importmap to not have to type out long URLs and use the same versions of things across a project when importing something. I found a plug-in to handle resolving @scope/package to a URL, but it prevented rollup-plugin-url-resolve from doing its thing. Source: 10 months ago
Want to import a package / file conveniently from esm.sh or unpkg or directly from a GitHub repo for a one-off script (for example). To do this I created a custom ESBuild plugin to handle HTTP imports - that worked for ,js files. To support running both ESM and CJS, I use tsx. Source: about 1 year ago
Https://unpkg.com/ seems to be facing instability and flakiness currently. This is an opportunity to identify any assets that you're not caching and/or are directly pulling from unpkg.com in your production environment. I've encountered "HTTP 520 Web server is returning an unknown error" responses intermittently from Cloudflare. Recurring downtime for unpkg.com has been an issue in the past. In August... - Source: Hacker News / about 1 year ago
You can actually still do this, and it is kind of a shame it's not documented on react.dev You need to pull in react, plus Babel standalone, and then you can use tags, which means you can bootstrap react components onto your page. But you are going to be basically running a compiler in your user's web browser. That's fine if you want to run that way, but Babel has docs that explain... - Source: Hacker News / about 1 year ago
You don't need maintainers to stop using npm to import their code as dependencies. Since all you need is the url to the module you could just import directly from github, or even something like https://unpkg.com/ gives you versioned urls to npm packages. Source: about 1 year ago
Great she mentioned https://unpkg.com/ which is a great place to start. Import maps are also worth exploring. Documentation isn't great but I've managed to ditch npm on some side projects and use import maps and CDNs instead. Worth it for small projects without a doubt. - Source: Hacker News / about 1 year ago
If you’re just hacking something together and don’t need to bundle then just import from https://unpkg.com . Source: over 1 year ago
Name="my_file" css-src="https://unpkg.com/@uploadcare/blocks@0.14.3/web/file-uploader-regular.min.css" >. - Source: dev.to / over 1 year ago
I use cdn like https://unpkg.com/ to serve my component published to npm as esm module. Your customers can use version in url to link to specific version of your component, or omit version, then unpkg will automatically redirect to the latest version. Source: over 1 year ago
Write complete html and javascript to support tonejs midi. Require is not a valid javascript keyword. Load the following scripts: https://unpkg.com/@tonejs/midi, https://unpkg.com/tone@13.4.9, and https://unpkg.com/@tonejs/ui@0.0.8 AudioContext must be resumed (or created) only after a user gesture on the page, in this case a button labeled Play. AudioContext must be inside Tone's constructor. Use Midi.fromUrl... Source: over 1 year ago
Import "../styles/index.css"; Import Script from "next/script"; Import type { AppProps } from "next/app"; Import Head from "next/head"; Type UIAppProps= AppProps
& { Component: AppProps["Component"] & { getLayout: (page: ReactNode) => ReactNode; }; }; /* I'm using NextAuth in the real application and pass `SessionProviderProps` instead of `Record` which Gives strongly typed access to fields...
- Source: dev.to / over 1 year ago
Browsers never required extensions, see https://unpkg.com/. - Source: Hacker News / over 1 year ago
That all libs that were directly imported in from https://unpkg.com/path/to/lib.min.whatever. - Source: Hacker News / over 1 year ago
Having it in a build seems fine. But you are building, right? You're not... just... Embedding it straight from NPM... wtf, why is the JS ecosystem like this? Source: over 1 year ago
As I've demonstrated throughout this article, production-ready versions of any NPM package that use ES Modules can be utilized in your import maps through CDNs like ESM, Unpkg, and Skypack. Even if the package on NPM wasn't designed for the ES Modules system and native browser import behavior, services like Skypack and ESM can transform them to be ready to use in an import map. You can use the search bar on... - Source: dev.to / over 1 year ago
Do you know an article comparing unpkg to other products?
Suggest a link to a post with product alternatives.
This is an informative page about unpkg. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.