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

snappy

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snappy - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Nodejs bindings to Google's Snappy compression library",
"version": "3.0.5",
"version": "3.0.6",
"homepage": "https://github.com/kesla/node-snappy",

@@ -8,0 +8,0 @@ "repository": {

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

# snappy[![build status](https://secure.travis-ci.org/kesla/node-snappy.svg)](http://travis-ci.org/kesla/node-snappy)
# snappy [![build status](https://secure.travis-ci.org/kesla/node-snappy.svg)](http://travis-ci.org/kesla/node-snappy)

@@ -12,3 +12,3 @@ Nodejs bindings to the [snappy](github.com/google/snappy) compression library

```
```bash
npm install snappy

@@ -35,3 +35,3 @@ ```

```
```bash
compressed is a Buffer <SlowBuffer 09 20 62 65 65 70 20 62 6f 6f 70>

@@ -49,3 +49,3 @@ the original String beep boop

### snappy.uncompress(compressed[, options] callback)
### snappy.uncompress(compressed, [options,] callback)

@@ -70,7 +70,7 @@ Uncompress `compressed` and call `callback` with `err` and `decompressed`.

## Benchmark
## [Benchmark](benchmark)
This is the result I'm seeing on my laptop (Macbook Air from 2012) running `node benchmark`
```
```bash
snappy.compress() x 479 ops/sec ±0.99% (80 runs sampled)

@@ -77,0 +77,0 @@ zlib.gzip() x 289 ops/sec ±1.66% (86 runs sampled)

Sorry, the diff of this file is not supported yet

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