Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
manzt committed Aug 15, 2022
1 parent 93c2400 commit 4a0ce1c
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,30 +106,28 @@ console.log(region);

## Usage

### In Browser
### In Browser (or Deno)

```html
<script type="module">
import * as zarr from "https://cdn.skypack.dev/zarrita/v2";
import { get } from "https://cdn.skypack.dev/zarrita/ops";
</script>
```javascript
import * as zarr from "https://esm.sh/zarrita/v2";
import { get } from "https://esm.sh/zarrita/ops";
```

### In Node.js or Application Bundles

Import using ES module syntax, import all exports into a single object:
Import using ES module syntax as a namespace:

```javascript
import * as zarr from "zarrita/v2";
```

Import using ES module syntax, with targeted imports:
or with targeted named imports:

```javascript
import { get_array } from "zarrita/v2";
```

#### Development
## Development

This library uses the [`pnpm`](https://pnpm.io/) package manager.

Expand Down

0 comments on commit 4a0ce1c

Please sign in to comment.