8
8
[ ![ Backers] [ backers-badge ]] [ collective ]
9
9
[ ![ Chat] [ chat-badge ]] [ chat ]
10
10
11
- Stringify [ NLCST ] [ ] .
11
+ [ ** nlcst ** ] [ nlcst ] utility to stringify a node .
12
12
13
- ## Installation
13
+ ## Install
14
14
15
15
[ npm] [ ] :
16
16
17
- ``` bash
17
+ ``` sh
18
18
npm install nlcst-to-string
19
19
```
20
20
21
21
## Usage
22
22
23
- ``` javascript
23
+ ``` js
24
24
var toString = require (' nlcst-to-string' )
25
25
26
26
console .log (
@@ -39,25 +39,27 @@ console.log(
39
39
40
40
### ` toString(node[, separator]) `
41
41
42
- Stringify the given [ NLCST ] [ ] node (or list of nodes).
42
+ Stringify the given [ nlcst ] [ ] node (or list of nodes).
43
43
44
44
###### Parameters
45
45
46
- * ` node ` ([ ` NLCSTNode ` ] [ nlcst ] or ` Array.<NLCSTNode > ` )
46
+ * ` node ` ([ ` Node ` ] [ node ] or ` Array.<Node > ` )
47
47
* ` separator ` (` string ` , optional, default: ` '' ` )
48
- — Value to separate each item with
48
+ — Value to delimit each item
49
49
50
50
###### Returns
51
51
52
52
` string ` .
53
53
54
54
## Contribute
55
55
56
- See [ ` contributing.md ` in ` syntax-tree/nlcst ` ] [ contributing ] for ways to get
56
+ See [ ` contributing.md ` in ` syntax-tree/.github ` ] [ contributing ] for ways to get
57
57
started.
58
+ See [ ` support.md ` ] [ support ] for ways to get help.
58
59
59
- This organisation has a [ Code of Conduct] [ coc ] . By interacting with this
60
- repository, organisation, or community you agree to abide by its terms.
60
+ This project has a [ Code of Conduct] [ coc ] .
61
+ By interacting with this repository, organisation, or community you agree to
62
+ abide by its terms.
61
63
62
64
## License
63
65
@@ -97,8 +99,12 @@ repository, organisation, or community you agree to abide by its terms.
97
99
98
100
[ author ] : https://wooorm.com
99
101
100
- [ nlcst ] : https://github.com/syntax-tree/nlcst
102
+ [ contributing ] : https://github.com/syntax-tree/.github/blob/master/contributing.md
103
+
104
+ [ support ] : https://github.com/syntax-tree/.github/blob/master/support.md
101
105
102
- [ contributing ] : https://github.com/syntax-tree/nlcst/blob/master/contributing.md
106
+ [ coc ] : https://github.com/syntax-tree/.github/blob/master/code-of-conduct.md
107
+
108
+ [ nlcst ] : https://github.com/syntax-tree/nlcst
103
109
104
- [ coc ] : https://github.com/syntax-tree/nlcst/blob/master/code-of-conduct.md
110
+ [ node ] : https://github.com/syntax-tree/nlcst#nodes
0 commit comments