{"library":"sweet-data","type":"library","category":null,"description":"A Node.js text formatting plugin for pretty-printing and minifying XML, JSON, CSS, and SQL. Version 0.1.4 is under active development with breaking changes expected. Forked from pretty-data, it offers synchronous and promise-based APIs, custom indentation via setStep(), and dual ESM/CJS support. Compared to alternatives like js-beautify, it covers SQL and XML natively and provides both beautify and minify functions in one package.","language":"javascript","status":"active","version":"0.1.4","tags":["javascript","pretty print","beautify","minify","XML","JSON","CSS","SQL","tabs"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install sweet-data","imports":["import { SweetData as sd } from 'sweet-data'","const sd = require('sweet-data')","sd.xml(data)"]},{"cmd":"yarn add sweet-data","imports":[]},{"cmd":"pnpm add sweet-data","imports":[]}],"homepage":"https://bgerhards.github.io/sweet-data/","github":"https://github.com/bgerhards/sweet-data","docs":null,"changelog":null,"pypi":null,"npm":"sweet-data","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}