@node-minify/jsonminify
TypeScript icon, indicating that this package has built-in type declarations

8.0.6 • Public • Published

node-minify

A very light minifier Node.js module.


Build Status

jsonminify

jsonminify is a plugin for node-minify

It allow you to compress JSON files.

Installation

npm install @node-minify/core @node-minify/jsonminify

Usage

const minify = require('@node-minify/core');
const jsonminify = require('@node-minify/jsonminify');

minify({
  compressor: jsonminify,
  input: 'foo.js',
  output: 'bar.js',
  callback: function (err, min) {}
});

Documentation

Visit https://node-minify.2clics.net/compressors/jsonminify.html for full documentation

License

MIT

Dependencies (2)

Dev Dependencies (2)

Package Sidebar

Install

npm i @node-minify/jsonminify

Weekly Downloads

347

Version

8.0.6

License

MIT

Unpacked Size

11.8 kB

Total Files

9

Last publish

Collaborators

  • srod