1- # mdast -util-position [ ![ Build Status] [ build-badge ]] [ build-status ]  [ ![ Coverage Status] [ coverage-badge ]] [ coverage-status ]  [ ![ Chat] [ chat-badge ]] [ chat ]  
1+ # unist -util-position [ ![ Build Status] [ build-badge ]] [ build-status ]  [ ![ Coverage Status] [ coverage-badge ]] [ coverage-status ]  [ ![ Chat] [ chat-badge ]] [ chat ]  
22
33<!-- lint disable heading-increment no-duplicate-headings--> 
44
5- [ ** mdast** ] [ mdast ]  utility to get the position of nodes.
6- 
7- *    Supports index-based positional information;
8- *    Supports [ ` indent ` ] [ mdast-indent ] .
5+ [ ** unist** ] [ unist ]  utility to get the position of nodes.
96
107## Installation  
118
129[ npm] [ ] :
1310
1411``` bash 
15- npm install mdast -util-position
12+ npm install unist -util-position
1613``` 
1714
18- ** mdast -util-position**  is also available as an AMD, CommonJS, and
15+ ** unist -util-position**  is also available as an AMD, CommonJS, and
1916globals module, [ uncompressed and compressed] [ releases ] .
2017
2118## Usage  
2219
2320``` js 
2421var  remark =  require (' remark' 
25- var  position =  require (' mdast -util-position' 
22+ var  position =  require (' unist -util-position' 
2623
2724var  ast =  remark ().parse ([
2825    ' # foo' 
@@ -54,17 +51,16 @@ Get the bound position of `node`.
5451
5552###### Returns  
5653
57- [ ` Position ` ] [ mdast-position ]  — Filled with ` line `  (nullable
58- ` uint32 >= 1 ` ), ` column `  (nullable ` uint32 >= 1 ` ), ` offset `  (nullable
59- ` uint32 >= 0 ` ), and ` indent ` .
54+ [ ` Position ` ] [ position ]  — Filled with ` line `  (nullable ` uint32 >= 1 ` ),
55+ ` column `  (nullable ` uint32 >= 1 ` ), ` offset `  (nullable ` uint32 >= 0 ` ).
6056
6157### ` position.generated([node]) `  
6258
6359Get the heading style of a node.
6460
6561###### Parameters  
6662
67- *    ` node `  ([ ` Node ` ] [ mdast- node] ) — Node to check;
63+ *    ` node `  ([ ` Node ` ] [ node ] ) — Node to check;
6864
6965###### Returns  
7066
@@ -78,32 +74,28 @@ if a node is inserted by plug-ins.
7874
7975<!--  Definitions --> 
8076
81- [ build-badge ] : https://img.shields.io/travis/wooorm/mdast -util-position.svg 
77+ [ build-badge ] : https://img.shields.io/travis/wooorm/unist -util-position.svg 
8278
83- [ build-status ] : https://travis-ci.org/wooorm/mdast -util-position 
79+ [ build-status ] : https://travis-ci.org/wooorm/unist -util-position 
8480
85- [ coverage-badge ] : https://img.shields.io/codecov/c/github/wooorm/mdast -util-position.svg 
81+ [ coverage-badge ] : https://img.shields.io/codecov/c/github/wooorm/unist -util-position.svg 
8682
87- [ coverage-status ] : https://codecov.io/github/wooorm/mdast -util-position 
83+ [ coverage-status ] : https://codecov.io/github/wooorm/unist -util-position 
8884
8985[ chat-badge ] : https://img.shields.io/gitter/room/wooorm/remark.svg 
9086
9187[ chat ] : https://gitter.im/wooorm/remark 
9288
93- [ releases ] : https://github.com/wooorm/mdast -util-position/releases 
89+ [ releases ] : https://github.com/wooorm/unist -util-position/releases 
9490
9591[ license ] : LICENSE 
9692
9793[ author ] : http://wooorm.com 
9894
9995[ npm ] : https://docs.npmjs.com/cli/install 
10096
101- [ mdast ] : https://github.com/wooorm/mdast 
102- 
103- [ node ] : https://github.com/wooorm/mdast#node 
104- 
105- [ mdast-node ] : https://github.com/wooorm/mdast#node 
97+ [ unist ] : https://github.com/wooorm/unist 
10698
107- [ mdast-indent ] : https://github.com/wooorm/mdast#location  
99+ [ node ] : https://github.com/wooorm/unist#node  
108100
109- [ mdast- position] : https://github.com/wooorm/mdast/blob/master/doc/nodes.md #position 
101+ [ position ] : https://github.com/wooorm/unist #position 
0 commit comments