
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Beautify CSS/JS/JSON/HTML/XML formats
npm i beautify -g
beautify [options]:
-h, --help output usage information
-V, --version output the version number
-f, --format input format.(optional) json/xml/html/js/css
-o, --output output file or folder
examles:
beautify -o output.html ./test.html
curl -L https://raw.githubusercontent.com/gko/beautify/master/test/mock/test1.json | beautify
echo 'body{width: "200px"}' | beautify -f css
You can also use it from node:
const beautify = require('beautify');
beautify(`{"a":1}`, {format: 'json'})
To run tests you simply need to do:
npm run test
Copyright (c) 2016 Konstantin Gorodinskiy
FAQs
beautify whatever
The npm package beautify receives a total of 93,037 weekly downloads. As such, beautify popularity was classified as popular.
We found that beautify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.