CDN installation
For pages without a bundler, load Vue before the IIFE bundle. The bundle exposes FastUtils; ESM imports and the global build are alternative entry modes.
| Resource | jsDelivr |
|---|---|
vue@3.5.11/dist/vue.global.prod.js | jsDelivr |
@fast-china/utils/dist/index.global.min.js | jsDelivr |
html
<script src="https://cdn.jsdelivr.net/npm/vue@3.5.11/dist/vue.global.prod.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@fast-china/utils/dist/index.global.min.js"></script>
<script>
const result = FastUtils.chunk([1, 2, 3], 2);
console.log(result); // [[1, 2], [3]]
</script>Load each dependency once. If your site blocks third-party scripts, self-host the same published artifacts. The target is ES2022; this bundle does not add Web Crypto, Storage or clipboard permissions.
