Sha256: 0d28434da1607f8e384231de0f5079a366364eb132681f1234e7893147a2d29c
Contents?: true
Size: 279 Bytes
Versions: 23
Compression:
Stored size: 279 Bytes
Contents
'use strict' var visit = require('unist-util-visit') module.exports = removePosition function removePosition(node, force) { visit(node, force ? hard : soft) return node } function hard(node) { delete node.position } function soft(node) { node.position = undefined }
Version data entries
23 entries across 23 versions & 1 rubygems