Skip to content

Commit 8f27646

Browse files
committed
Update wording relating to positional info
Related to syntax-tree/unist@f2b8587.
1 parent 00bdfee commit 8f27646

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"keywords": [
77
"unist",
88
"node",
9-
"location",
9+
"position",
1010
"source"
1111
],
1212
"repository": "https://github.com/syntax-tree/unist-util-source",

readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# unist-util-source [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov]
22

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].
55

66
## Installation
77

@@ -48,7 +48,7 @@ Now, running `node example` yields:
4848

4949
###### Parameters
5050

51-
* `value` ([`Node`][node] or [`Location`][location]) — Value to get
51+
* `value` ([`Node`][node] or [`Position`][position]) — Value to get
5252
* `doc` ([`VFile`][vfile] or `string`) — Document in which `value` exists
5353

5454
###### Returns
@@ -79,6 +79,6 @@ Now, running `node example` yields:
7979

8080
[node]: https://github.com/syntax-tree/unist#node
8181

82-
[location]: https://github.com/syntax-tree/unist#location
82+
[position]: https://github.com/syntax-tree/unist#position
8383

8484
[vfile]: https://github.com/vfile/vfile

0 commit comments

Comments
 (0)