Socket
Socket
Sign inDemoInstall

hexo-neat

Package Overview
Dependencies
20
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hexo-neat

auto Minify html、js、css and make it neat


Version published
Maintainers
1
Install size
3.10 MB
Created

Readme

Source

status

npm version

Hexo-neat

I want a perfect page to show for my blog, so I made this.

Installation

$ npm install hexo-neat --save

Options

To Enable Auto neat , you must config like this:

neat_enable: true
neat_html:
  enable: true
  exclude:
  • enable - Enable the plugin. Defaults to true.
  • logger - Print log switch. Defaults to true.
  • exclude: Exclude files
  • Note: there are so many params please see HTMLMinifier

neat_css:
  enable: true
  exclude:
    - '*.min.css'
  • enable - Enable the plugin. Defaults to true.
  • logger - Print log switch. Defaults to true.
  • exclude: Exclude files
  • Note: there are so many params please see clean-css

neat_js:
  enable: true
  mangle: true
  output:
  compress:
  exclude:
    - '*.min.js'
  • enable - Enable the plugin. Defaults to true.
  • mangle: Mangle file names
  • logger - Print log switch. Defaults to true.
  • output: Output options
  • compress: Compress options
  • exclude: Exclude files
  • Note: there are so many params please see UglifyJS

Thanks

Say Very Thanks for this gays:

Sponsor

The project is develop by JetBrains Ide

Keywords

FAQs

Last updated on 22 Jul 2020

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc