Socket
Socket
Sign inDemoInstall

compress-json

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compress-json - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

1

dist/number.js

@@ -75,3 +75,2 @@ "use strict";

acc.push(c);
int -= i;
int /= n;

@@ -78,0 +77,0 @@ }

2

package.json
{
"name": "compress-json",
"version": "2.1.2",
"version": "2.1.3",
"description": "convert JSON data to space efficient format",

@@ -5,0 +5,0 @@ "keywords": [

@@ -10,3 +10,3 @@ # compress-json

This library is optimized to reduce represent json object in compact format, which can save network bandwidth and disk space.
This library is optimized to compress json object in compact format, which can save network bandwidth and disk space.
It is not optimized for writing nor querying throughput.

@@ -16,2 +16,3 @@ Although the reduced IO may speed up usage of lmdb on frequently redundant data, that is not the design goal.

## Features
- Supports all JSON types
- Object key order is preserved

@@ -27,2 +28,8 @@ - Repeated values are stored only once

## All Implementations
- Javascript/Typescript: [source](https://github.com/beenotung/compress-json) / [package](https://www.npmjs.com/package/compress-json)
- PHP: [source](https://github.com/inkrot/php-compress-json) / [package](https://packagist.org/packages/inkrot/php-compress-json)
- Python: [source](https://github.com/beenotung/compress-json/tree/master/python) / [package](https://pypi.org/project/compress-json-python)
- C#: (TODO)
## Installation

@@ -29,0 +36,0 @@ ```bash

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc