UNPKG

208 BJavaScriptView Raw
1'use strict';
2
3var clean = require('hast-util-sanitize');
4
5module.exports = sanitize;
6
7function sanitize(options) {
8 return transformer;
9 function transformer(tree) {
10 return clean(tree, options);
11 }
12}