|
|
5 hari lalu | |
|---|---|---|
| .. | ||
| index.js | 5 hari lalu | |
| license | 5 hari lalu | |
| package.json | 5 hari lalu | |
| readme.md | 5 hari lalu | |
unist utility to check if a node is generated.
npm:
npm install unist-util-generated
var generated = require('unist-util-generated')
generated({}) // => true
generated({position: {start: {}, end: {}}}) // => true
generated({
position: {start: {line: 1, column: 1}, end: {line: 1, column: 2}}
}) // => false
generated(node)node (Node) — Node to check.boolean — Whether node is generated.
unist-util-position
— Get the position of nodesunist-util-remove-position
— Remove positions from a treeunist-util-stringify-position
— Stringify a node, position, or pointSee contributing.md in syntax-tree/.github for ways to get
started.
See support.md for ways to get help.
This project has a Code of Conduct. By interacting with this repository, organisation, or community you agree to abide by its terms.