Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/pichillilorenzo/minimize-json
- Owner: pichillilorenzo
- License: isc
- Created: 2022-09-28T17:53:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-29T11:46:09.000Z (about 2 years ago)
- Last Synced: 2024-12-08T11:41:09.690Z (15 days ago)
- Topics: cli, javascript, javascript-cli, js, json, minify, minify-json, minimize, minimize-json
- Language: TypeScript
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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).