File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
"keywords" : [
7
7
" unist" ,
8
8
" node" ,
9
- " location " ,
9
+ " position " ,
10
10
" source"
11
11
],
12
12
"repository" : " https://github.com/syntax-tree/unist-util-source" ,
Original file line number Diff line number Diff line change 1
1
# unist-util-source [ ![ Build Status] [ travis-badge ]] [ travis ] [ ![ Coverage Status] [ codecov-badge ]] [ codecov ]
2
2
3
- [ ** Unist** ] [ unist ] utility to get the source of a [ Node] [ ] or
4
- [ Location ] [ ] .
3
+ [ ** Unist** ] [ unist ] utility to get the source of a [ ` Node ` ] [ node ] or
4
+ [ ` Position ` ] [ position ] .
5
5
6
6
## Installation
7
7
@@ -48,7 +48,7 @@ Now, running `node example` yields:
48
48
49
49
###### Parameters
50
50
51
- * ` value ` ([ ` Node ` ] [ node ] or [ ` Location ` ] [ location ] ) — Value to get
51
+ * ` value ` ([ ` Node ` ] [ node ] or [ ` Position ` ] [ position ] ) — Value to get
52
52
* ` doc ` ([ ` VFile ` ] [ vfile ] or ` string ` ) — Document in which ` value ` exists
53
53
54
54
###### Returns
@@ -79,6 +79,6 @@ Now, running `node example` yields:
79
79
80
80
[ node ] : https://github.com/syntax-tree/unist#node
81
81
82
- [ location ] : https://github.com/syntax-tree/unist#location
82
+ [ position ] : https://github.com/syntax-tree/unist#position
83
83
84
84
[ vfile ] : https://github.com/vfile/vfile
You can’t perform that action at this time.
0 commit comments