{"library":"pretty-data2","type":"library","category":null,"description":"A Node.js plugin for pretty-printing and minifying XML, JSON, CSS, and SQL text, with a stable version 0.40.1 and infrequent updates. Provides functions like pd.xml(), pd.json(), pd.css(), pd.sql() for beautification and corresponding *min variants for minification, with optional comment preservation for XML and CSS. Lightweight with no dependencies, suitable for formatting data on the server or in build tools. Differentiates from alternatives like js-beautify or prettier by focusing solely on these four formats and offering separate minification methods.","language":"javascript","status":"active","version":"0.40.1","tags":["javascript","pretty print","beautify","minify","XML","JSON","CSS","SQL"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install pretty-data2","imports":["import { pd } from 'pretty-data2'","import pd from 'pretty-data2/pd'","const { pd } = require('pretty-data2'); pd.xmlmin(data, true);"]},{"cmd":"yarn add pretty-data2","imports":[]},{"cmd":"pnpm add pretty-data2","imports":[]}],"homepage":"https://github.com/vkiryukhin/pretty-data","github":"http://github.com/vkiryukhin/pretty-data","docs":null,"changelog":null,"pypi":null,"npm":"pretty-data2","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}