https://github.com/privatenumber/repkg
🚚 On-demand AMD npm package bundling service
https://github.com/privatenumber/repkg
amd package service webpack
Last synced: about 2 months ago
JSON representation
🚚 On-demand AMD npm package bundling service
- Host: GitHub
- URL: https://github.com/privatenumber/repkg
- Owner: privatenumber
- License: mit
- Created: 2020-04-19T07:17:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-02T03:45:38.000Z (over 5 years ago)
- Last Synced: 2024-12-28T06:24:49.269Z (over 1 year ago)
- Topics: amd, package, service, webpack
- Language: JavaScript
- Homepage: https://repkg.now.sh
- Size: 150 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚚 REPKG [](https://github.com/privatenumber/repkg)
[REPKG](https://repkg.now.sh) is a service that bundles npm packages to AMD on-demand. Powered by [UNPKG](https://unpkg.com).
⚠️ _This service is for development purposes only and **should not** be used in production._
## 👩💻 Usage
Replace `UNPKG.com` with `REPKG.now.sh` to AMDify it!
- **Bare specifier**: [unpkg.com/pretty-ms](https://unpkg.com/pretty-ms) → [**repkg.now.sh/pretty-ms**](https://repkg.now.sh/pretty-ms) ✨
- **Specific version**: [unpkg.com/urijs@1.19.2](https://unpkg.com/urijs@1.19.2) → [**repkg.now.sh/urijs@1.19.2**](https://repkg.now.sh/urijs@1.19.2) ✨
- **Deep import path**: [axios@0.19.2/.../buildFullPath](https://unpkg.com/axios@0.19.2/lib/core/buildFullPath) → [**axios@0.19.2/.../buildFullPath**](https://repkg.now.sh/axios@0.19.2/lib/core/buildFullPath) ✨
- (_Bonus_) **Minification (`?min`)**: [**mem@6.1.0?min**](https://repkg.now.sh/mem@6.1.0?min) ✨
#### Request will redirect to UNPKG if...
- the request hits UNPKG's `/browse/` page
- the asset is a source-map (`.map`)
- the asset is already AMD
## 💫 Inspirations
- [packd](https://github.com/Rich-Harris/packd)
- [jspm.io](https://jspm.io)
- [Pika CDN](https://www.pika.dev/cdn)
---
Built and maintained by [@privatenumber](https://github.com/privatenumber) [](https://github.com/privatenumber?tab=followers) and powered by [Vercel](https://vercel.com) ❤️