UNPKG

@starptech/prettyhtml-hast-to-html

Version:
9 lines (6 loc) 187 B
'use strict' module.exports = place /* Get the position of `node` in `parent`. */ function place(parent, child) { return parent && parent.children && parent.children.indexOf(child) }