Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pichillilorenzo/minimize-json

Minimize your JSON files without making a bundle
https://github.com/pichillilorenzo/minimize-json

cli javascript javascript-cli js json minify minify-json minimize minimize-json

Last synced: 6 days ago
JSON representation

Minimize your JSON files without making a bundle

Awesome Lists containing this project

README

        

# Minimize JSON

### Minimize your JSON files without making a bundle

[![NPM](https://nodei.co/npm/minimize-json.png?compact=true)](https://nodei.co/npm/minimize-json/)


[![](https://img.shields.io/npm/dt/minimize-json.svg?style=flat-square)](https://www.npmjs.com/package/minimize-json)

[![NPM Version](https://badgen.net/npm/v/minimize-json)](https://npmjs.org/package/minimize-json)
[![license](https://img.shields.io/github/license/pichillilorenzo/minimize-json)](/LICENSE)
[![Donate to this project using Paypal](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.me/LorenzoPichilli)

## Getting started

To get started with this library, you need to install it and add it to your project.

### Installation

Minimize JSON is available as an npm package.

```bash
# npm
npm install minimize-json -D

# yarn
yarn add minimize-json -D
```

## Usage

The code snippet below shows how to put into action `minimize-json` and lets you minimize your files inside a directory.

```bash
minimize-json
```

## Contributors

Any contribution is appreciated. You can get started with the steps below:

1. Fork [this repository](https://github.com/pichillilorenzo/minimize-json) (learn how to do this [here](https://help.github.com/articles/fork-a-repo)).

2. Clone the forked repository.

3. Make your changes and create a pull request ([learn how to do this](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request)).

4. I will attend to your pull request and provide some feedback.

## License

This repository is licensed under the [ISC](LICENSE) License.

This project is strongly inspired by the [minimize-js](https://github.com/Randagio13/minimize-js).