Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

beautify

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beautify

beautify whatever

  • 0.0.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Beautify

build Dependency Status npm version

Beautify CSS/JS/JSON/HTML/XML formats

Installation

npm i beautify -g

Usage

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'})

Tests

To run tests you simply need to do:

npm run test

License

MIT

Copyright (c) 2016 Konstantin Gorodinskiy

Keywords

FAQs

Package last updated on 03 Oct 2016

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc