A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/syntax-tree/unist/commit/d3936a01f973d3eecc0b95b61512caa90de220d6 below:

Add section on types · syntax-tree/unist@d3936a0 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+10

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+10

-0

lines changed Original file line number Diff line number Diff line change

@@ -18,6 +18,7 @@ The latest released version is [`2.0.0`][release].

18 18

* [Intro](#intro)

19 19

* [Syntax tree](#syntax-tree)

20 20

* [Where this specification fits](#where-this-specification-fits)

21 +

* [Types](#types)

21 22

* [Nodes](#nodes)

22 23

* [`Node`](#node)

23 24

* [`Parent`](#parent)

@@ -81,6 +82,15 @@ unist relates to the [vfile][] project in that it accepts unist nodes for its

81 82

message store, and that vfile can be a source *[file][term-file]* of a syntax

82 83

tree.

83 84 85 +

## Types

86 + 87 +

If you are using TypeScript, you can use the unist types by installing them

88 +

with npm:

89 + 90 +

```sh

91 +

npm install @types/unist

92 +

```

93 + 84 94

## Nodes

85 95 86 96

Syntactic units in unist syntax trees are called nodes, and implement the

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4