Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

pug-beautifier-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pug-beautifier-cli

Pug(Jade) Beautify CLI Interface

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

Pug(was Jade) Beautify CLI tool.

Note : This program depends on pug-beautify module.

Installation

npm i -g pug-beautifier-cli

Usage

$ pug-beautifier [options] [file or glob]

Beautify <file> and overwrite it:

Options

-h, --help                  output usage information
-V, --version               output the version number
-t, --filltab <tab_size>  	fill <tab_size> tabs rather than space, default 2 spaces.
-d, --keepdiv,              keep div tag, default not.

Examples

Beautify foo.pug:

$ pug-beautifier foo.pug

Beautify foo.jade with 4 tabs, keep 'div' tag :

$ pug-beautifier -d -t 4 foo.jade

License

MIT

Keywords

jade

FAQs

Package last updated on 27 Jun 2017

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