We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00a67dd commit c1d4e2aCopy full SHA for c1d4e2a
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "hast-util-truncate",
3
- "version": "1.0.2",
+ "version": "2.0.0",
4
"description": "hast utility to truncate the tree to a certain number of characters",
5
"license": "MIT",
6
"keywords": [
readme.md
@@ -57,14 +57,14 @@ npm install hast-util-truncate
57
In Deno with [`esm.sh`][esmsh]:
58
59
```js
60
-import {truncate} from "https://esm.sh/hast-util-truncate@1"
+import {truncate} from 'https://esm.sh/hast-util-truncate@2'
61
```
62
63
In browsers with [`esm.sh`][esmsh]:
64
65
```html
66
<script type="module">
67
- import {truncate} from "https://esm.sh/hast-util-truncate@1?bundle"
+ import {truncate} from 'https://esm.sh/hast-util-truncate@2?bundle'
68
</script>
69
70
0 commit comments