Files
2025-11-02 22:52:08 +01:00

12 lines
245 B
JavaScript
Executable File

// This file will highlight the passed code using the custom theme when run via: "node highlight-json"
'use strict'
var cardinal = require('..')
var json = JSON.stringify({
foo: 'bar',
baz: 'quux'
})
console.log(cardinal.highlight(json))