Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

maxmin

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

maxmin - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

8

package.json
{
"name": "maxmin",
"version": "0.1.0",
"version": "0.2.0",
"description": "Get a pretty output of the original, minified, gzipped size of a string or buffer: 130 B → 91 B → 53 B (gzip)",

@@ -37,6 +37,6 @@ "license": "MIT",

"dependencies": {
"gzip-size": "^0.1.0",
"pretty-bytes": "^0.1.0",
"chalk": "^0.4.0"
"chalk": "^0.4.0",
"gzip-size": "^0.2.0",
"pretty-bytes": "^0.1.0"
}
}

@@ -1,2 +0,2 @@

# maxmin [![Build Status](https://travis-ci.org/sindresorhus/maxmin.png?branch=master)](https://travis-ci.org/sindresorhus/maxmin)
# maxmin [![Build Status](https://travis-ci.org/sindresorhus/maxmin.svg?branch=master)](https://travis-ci.org/sindresorhus/maxmin)

@@ -17,7 +17,9 @@ > Get a pretty output of the original, minified, gzipped size of a string or buffer

## Example
## Usage
```js
var maxmin = require('maxmin');
var max = 'function smoothRangeRandom(min,max){var num=Math.floor(Math.random()*(max-min+1)+min);return this.prev=num===this.prev?++num:num};';
var min = '(function(b,c){var a=Math.floor(Math.random()*(c-b+1)+b);return this.a=a===this.a?++a:a})()';

@@ -24,0 +26,0 @@

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