How to use the unist-util-inspect.noColor function in unist-util-inspect

To help you get started, we’ve selected a few unist-util-inspect examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wooorm / parse-latin / example.js View on Github external
// Dependencies:
var inspect = require('unist-util-inspect');
var Latin = require('./index.js');

// Parse:
var tree = new Latin().parse('A simple sentence.');

// Which, when inspecting, yields:
console.log('txt', inspect.noColor(tree));

unist-util-inspect

unist utility to inspect nodes

MIT
Latest version published 4 months ago

Package Health Score

70 / 100
Full package analysis

Popular unist-util-inspect functions