Skip to content

Commit 6a785c6

Browse files
committed
jsDelivr instead of Skypack
1 parent cdd37e4 commit 6a785c6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ And finally **iteration methods** that apply functions to elements in the array:
3232

3333
## Installing
3434

35-
If you use npm, `npm install d3-array`. You can also download the [latest release on GitHub](https://github.com/d3/d3-array/releases/latest). For vanilla HTML in modern browsers, import d3-array from Skypack:
35+
If you use npm, `npm install d3-array`. You can also download the [latest release on GitHub](https://github.com/d3/d3-array/releases/latest). For vanilla HTML in modern browsers, import d3-array from jsDelivr:
3636

3737
```html
3838
<script type="module">
3939
40-
import {min} from "https://cdn.skypack.dev/d3-array@3";
40+
import {min} from "https://cdn.jsdelivr.net/npm/d3-array@3/+esm";
4141
4242
const m = min(array);
4343
4444
</script>
4545
```
4646

47-
For legacy environments, you can load d3-array’s UMD bundle from an npm-based CDN such as jsDelivr; a `d3` global is exported:
47+
For legacy environments, you can load d3-array’s UMD bundle; a `d3` global is exported:
4848

4949
```html
5050
<script src="https://cdn.jsdelivr.net/npm/d3-array@3"></script>

0 commit comments

Comments
 (0)