We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An interesting new feature would be a new boolean option that when enabled allows you to add HTML tags with class names to the result. For example:
const obj = { prop1: "prop1", prop2: "prop2", action1(){ console.log("Obj action") } } console.log(stringify(obj, , { indent: " ", singleQuotes: false, htmlTagging: true }))
Must print:
<span class="braces braces-open">{</span> <span class="property-name">prop1:</span> <span class="property-value">"prop1"</span><span class="comma">,</span> <span class="property-name">prop2:</span> <span class="property-value">"prop2"</span><span class="comma">,</span> <span class="function-name">action1()</span><span class="braces braces-open">{</span><span class="function-content"> console.log("Obj action") </span><span class="braces braces-open">}</span> <span class="braces braces-open">}</span>
The text was updated successfully, but these errors were encountered:
That is out of scope for this package.
Sorry, something went wrong.
No branches or pull requests
An interesting new feature would be a new boolean option that when enabled allows you to add HTML tags with class names to the result.
For example:
Must print:
The text was updated successfully, but these errors were encountered: