Skip to content

Commit

Permalink
chore: publish on jsr
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbonnet committed Apr 1, 2024
1 parent 8ac784b commit c9a8bc9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- Supports source map generation with [Source Map](https://github.com/mozilla/source-map#sourcemapgenerator).
- Supports comment generation with [Astravel](https://github.com/davidbonnet/astravel).
- No dependencies and small footprint (≈ 16 KB minified, ≈ 4 KB gziped).
- Runs on [🦕 Deno](https://deno.land).
- Runs on [🦕 Deno](https://deno.land/x/astring).

## Contents

Expand Down Expand Up @@ -56,6 +56,12 @@ Install with the [Node Package Manager](https://www.npmjs.com/package/astring):
npm install astring
```

Or install with [JSR](https://jsr.io/@davidbonnet/astring):

```bash
deno add @davidbonnet/astring
```

Alternatively, checkout this repository and install the development dependencies to build the module file:

```bash
Expand Down
14 changes: 14 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "@davidbonnet/astring",
"version": "1.8.6",
"exports": "./src/astring.js",
"publish": {
"include": [
"LICENSE",
"README.md",
"src/astring.js",
"astring.d.ts",
"deno.json"
]
}
}

0 comments on commit c9a8bc9

Please sign in to comment.