ts-tree-structure
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "ts-tree-structure", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Manipulate and traverse tree-like structures in TypeScript.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -25,3 +25,3 @@ # ts-tree-structure | ||
```js | ||
const Tree = require('ts-tree-structure'); | ||
const Tree = require('ts-tree-structure').default; | ||
@@ -34,4 +34,5 @@ const tree = new Tree(); | ||
```html | ||
<script src="https://unpkg.com/ts-tree-structure/"></script> | ||
<script src="https://unpkg.com/ts-tree-structure/umd/ts-tree-structure.min.js"></script> | ||
<script> | ||
var Tree = Tree.default; | ||
var tree = new Tree(); | ||
@@ -38,0 +39,0 @@ var root = tree.parse({ id: 1, name: 'foo', children: [{ id: 11, name: 'bar' }]}); |
44797
187