@poppinss/inspect
Version:
Stringify Javascript values to a string or pretty print HTML
18 lines (15 loc) • 393 B
JavaScript
/*
* @poppinss/inspect
*
* (c) Harminder Virk <virk@adonisjs.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
const PrettyPrintHtml = require('./src/PrettyPrintHtml');
module.exports = {
inspect: require('./src/inspect'),
string: {
html: (value) => new PrettyPrintHtml().print(value)
},
}