open-index/open-npm huggingface dataset:
npm package: @jimp-native/plugin-blit-cpp
Description: Platform agnostic C++ implementation of plugin-blit
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-blit-cpp</h1>
  <p>Platform agnostic C++ implementation of plugin-blit</p>
</div>
npm package: @jimp-native/plugin-blit-napi
Description: C++ implementation of plugin-blit using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-blit-napi</h1>
  <p>C++ implementation of plugin-blit using the Node Addon API</p>
</div>
npm package: @jimp-native/plugin-blur-cpp
Description: Platform agnostic C++ implementation of plugin-blur
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-blur-cpp</h1>
  <p>Platform agnostic C++ implementation of plugin-blur</p>
</div>
npm package: @jimp-native/plugin-blur-napi
Description: C++ implementation of plugin-blur using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-blur-napi</h1>
  <p>C++ implementation of plugin-blur using the Node Addon API</p>
</div>
npm package: @jimp-native/plugin-circle-cpp
Description: Platform agnostic C++ implementation of plugin-circle
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-circle-cpp</h1>
  <p>Platform agnostic C++ implementation of plugin-circle</p>
</div>
npm package: @jimp-native/plugin-circle-napi
Description: C++ implementation of plugin-circle using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-circle-napi</h1>
  <p>C++ implementation of plugin-circle using the Node Addon API</p>
</div>
npm package: @jimp-native/plugin-color-cpp
Description: Platform agnostic C++ implementation of plugin-color
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-color-cpp</h1>
  <p>Platform agnostic C++ implementation of plugin-color</p>
</div>
npm package: @jimp-native/plugin-color-napi
Description: C++ implementation of plugin-color using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-blit-napi</h1>
  <p>C++ implementation of plugin-blit using the Node Addon API</p>
</div>
npm package: @jimp-native/plugin-composite-cpp
Description: Platform agnostic C++ implementation of the core jimp composite method
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center"> 
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-composite-cpp</h1>
  <p>Platform agnostic C++ implementation of the core jimp composite method</p>
</div>
npm package: @jimp-native/plugin-composite-napi
Description: C++ implementation of plugin-composite using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-composite-napi</h1>
  <p>C++ implementation of plugin-composite-napi using the Node Addon API</p>
</div>
npm package: @jimp-native/plugin-crop-cpp
Description: Platform agnostic C++ implementation of plugin-crop
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-crop-cpp</h1>
  <p>Platform agnostic C++ implementation of plugin-crop</p>
</div>
npm package: @jimp-native/plugin-crop-napi
Description: C++ implementation of plugin-crop using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-crop-napi</h1>
  <p>C++ implementation of plugin-crop using the Node Addon API</p>
</div>
npm package: @jimp-native/plugin-dither-cpp
Description: Platform agnostic C++ implementation of plugin-dither
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-dither-cpp</h1>
  <p>Platform agnostic C++ implementation of plugin-dither</p>
</div>
npm package: @jimp-native/plugin-dither-napi
Description: C++ implementation of plugin-dither using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-dither-napi</h1>
  <p>C++ implementation of plugin-dither using the Node Addon API</p>
</div>
npm package: @jimp-native/plugin-flip-cpp
Description: Platform agnostic C++ implementation of plugin-flip
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-dither-cpp</h1>
  <p>Platform agnostic C++ implementation of plugin-dither</p>
</div>
npm package: @jimp-native/plugin-flip-napi
Description: C++ implementation of plugin-flip using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-flip-napi</h1>
  <p>C++ implementation of plugin-flip using the Node Addon API</p>
</div>
npm package: @jimp-native/plugin-invert-cpp
Description: Platform agnostic C++ implementation of plugin-invert
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-invert-cpp</h1>
  <p>Platform agnostic C++ implementation of plugin-invert</p>
</div>
npm package: @jimp-native/plugin-invert-napi
Description: C++ implementation of plugin-invert using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-invert-napi</h1>
  <p>C++ implementation of plugin-invert using the Node Addon API</p>
</div>
npm package: @jimp-native/plugin-mask-cpp
Description: Platform agnostic C++ implementation of plugin-mask
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-mask-cpp</h1>
  <p>Platform agnostic C++ implementation of plugin-mask</p>
</div>
npm package: @jimp-native/plugin-mask-napi
Description: C++ implementation of plugin-mask using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-mask-napi</h1>
  <p>C++ implementation of plugin-mask using the Node Addon API</p>
</div>
npm package: @jimp-native/plugin-resize-cpp
Description: Platform agnostic C++ implementation of plugin-resize
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-resize-cpp</h1>
  <p>Platform agnostic C++ implementation of plugin-resize</p>
</div>
npm package: @jimp-native/plugin-resize-napi
Description: C++ implementation of plugin-resize using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-resize-napi</h1>
  <p>C++ implementation of plugin-resize using the Node Addon API</p>
</div>
npm package: @jimp-native/plugin-rotate-cpp
Description: Platform agnostic C++ implementation of plugin-rotate
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-rotate-cpp</h1>
  <p>Platform agnostic C++ implementation of plugin-rotate</p>
</div>
npm package: @jimp-native/plugin-rotate-napi
Description: C++ implementation of plugin-rotate using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugin-rotate-napi</h1>
  <p>C++ implementation of plugin-rotate using the Node Addon API</p>
</div>
npm package: @jimp-native/plugins-napi
Description: Default jimp plugins with all available C++ optimisations enabled using the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/plugins-napi</h1>
  <p>Default jimp plugins with all available C++ optimisations enabled using the Node Addon API</p>
</div>
npm package: @jimp-native/utils-cpp
Description: Platform agnostic C++ utilities for jimp-native
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/utils-cpp</h1>
  <p>Platform agnostic common C++ utilities (header only)</p>
</div>
npm package: @jimp-native/utils-napi
Description: C++ utilities for optimisations built on top of the Node Addon API
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/utils-napi</h1>
  <p>C++ utilities for optimisations built on top of the Node Addon API (header only)</p>
</div>
npm package: @jimp-native/utils-ts
Description: Various utility functions in TypeScript for the jimp-native project
Author: Sjoerd Dal
Latest version: 0.1.0

<div align="center">
  <img width="200" height="200" src="https://raw.githubusercontent.com/sjoerd108/jimp-native/b62679c91a8011abc0970761ba29b0935b1837b5/assets/jimp_native_logo.png">
  <h1>@jimp-native/utils-ts</h1>
  <p>Various utility functions in TypeScript for the jimp-native project</p>
</div>
npm package: @jimp/bmp
Description: Default Jimp bmp encoder/decoder.
Latest version: 0.22.12

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/bmp</h1>
  <p>Default Jimp bmp encoder/decoder.</p>
</div>
npm package: @jimp/cli
Description: jimp on the cli
Latest version: 0.21.3

<div align="center">
  <a href="https://intuit.github.io/Ignite/">
    <img width="200" height="200"
      src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  </a>
  <h1>@jimp/cli</h1>
  <p>jimp on the cli</p>
</div>

Jimp on the CLI.

## Usage

Run with `--help` to get help information. Further help by running `--help <command>`. The two main functions are `read` and `create`.

```sh
jimp <command>

Commands:
  jimp read [img]              Read and image into jimp. (PNG, JPEG, TIFF, BMP, or GIF)
  jimp create                  Create a new image
  jimp distance [img1] [img2]  Calculates the hamming distance of two images based on their
                               perceptual hash
  jimp diff [img1] [img2]      Diffs two images
  jimp rgbaToInt               A static helper method that converts RGBA values to a single
                               integer value. args: r, g, b, a (0 - 255)
  jimp intToRGBA               A static helper method that converts RGBA values to a single
                               integer value. args: num (eg 0xFF0000FF)
  jimp cssColorToHex           Converts a css color (Hex, 8-digit (RGBA) Hex, RGB, RGBA, HSL,
                               HSLA, HSV, HSVA, Named) to a hex number
  jimp limit255                Limits a number to between 0 or 255. args: num
  jimp compareHashes           Calculates the hamming distance of two images based on their
                               perceptual hash. args: hash1, hash2
  jimp colorDiff               Compute color difference. args: color1, color2 ({r:val, g:val,
                               b:val, a:val})
  jimp measureText             Measure how wide printing a string will be. args: text
  jimp measureTextHeight       Measure how tall printing a string will be. args: text, width

Jimp Configuration:
  --plugins, -p   Jimp plugins to load.                                                  [array]
  --types, -t     Jimp types to load.                                                    [array]
  --loadFont, -f  Path of font to load and be used in text operations                   [string]

Options:
  --help         Show help                                                             [boolean]
  --version      Show version number                                                   [boolean]
  --verbose, -v  enable more logging                                                   [boolean]

Examples:
  jimp read path/to/image.png --output output.jpg  Convert images from one type to another. See
                                                   more under jimp read --help
```
npm package: @jimp/gif
Description: Default Jimp gif encoder/decoder.
Latest version: 0.22.12

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/gif</h1>
  <p>Default Jimp gif decoder.</p>
</div>

NOTE: Encoder currently unavailable.
npm package: @jimp/jpeg
Description: Default Jimp jpeg encoder/decoder.
Latest version: 0.22.12

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/jpeg</h1>
  <p>Default Jimp jpeg encoder/decoder.</p>
</div>

## Available Methods

### Jimp.quality

Sets the quality of the image when saving as JPEG format (default is 100)
npm package: @jimp/js-bmp
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/bmp</h1>   <p>Default Jimp bmp encoder/decoder.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/bmp</h1>
  <p>Default Jimp bmp encoder/decoder.</p>
</div>
npm package: @jimp/js-gif
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/gif</h1>   <p>Default Jimp gif decoder.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/gif</h1>
  <p>Default Jimp gif decoder.</p>
</div>

NOTE: Only supports single frame
npm package: @jimp/js-jpeg
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/jpeg</h1>   <p>Default Jimp jpeg encoder/decoder.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/jpeg</h1>
  <p>Default Jimp jpeg encoder/decoder.</p>
</div>
npm package: @jimp/js-png
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/png</h1>   <p>Default Jimp png encoder/decoder.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/png</h1>
  <p>Default Jimp png encoder/decoder.</p>
</div>

## Available Methods

### Jimp.deflateLevel

Sets the deflate level used when saving as PNG format (default is 9)

### Jimp.deflateStrategy

Sets the deflate strategy used when saving as PNG format (default is 3)

### Jimp.filterType

Sets the filter type used when saving as PNG format (default is automatic filters)

### Jimp.colorType

Sets the color type used when saving as PNG format (one of 0, 2, 4, 6)

### Filter Types

```js
Jimp.PNG_FILTER_AUTO;
Jimp.PNG_FILTER_NONE;
Jimp.PNG_FILTER_SUB;
Jimp.PNG_FILTER_UP;
Jimp.PNG_FILTER_AVERAGE;
Jimp.PNG_FILTER_PATH;
```
npm package: @jimp/js-tiff
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/tiff</h1>   <p>Default Jimp tiff encoder/decoder.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/tiff</h1>
  <p>Default Jimp tiff encoder/decoder.</p>
</div>
npm package: @jimp/plugin-blit
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-blit</h1>   <p>Blit an image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-blit</h1>
  <p>Blit an image.</p>
</div>

> Blit - a data operation commonly used in computer graphics in which several bitmaps are combined into one using a boolean function.

[Read the docs](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#blit)
npm package: @jimp/plugin-blur
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-blur</h1>   <p>Blur an image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-blur</h1>
  <p>Blur an image.</p>
</div>

A fast blur algorithm that produces similar effect to a Gaussian blur - but MUCH quicker

- [blur](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#blur)
- [gaussian](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#gaussian)
npm package: @jimp/plugin-circle
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-circle</h1>   <p>Creates a circle out of an image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-circle</h1>
  <p>Creates a circle out of an image.</p>
</div>

- [circle](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#circle)
npm package: @jimp/plugin-color
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/utils</h1>   <p>Utils for jimp extensions.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/utils</h1>
  <p>Utils for jimp extensions.</p>
</div>

- [color](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#color)
- [brightness](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#brightness)
- [contrast](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#contrast)
- [posterize](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#posterize)
- [opacity](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#opacity)
- [sepia](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#sepia)
- [fade](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#fade)
- [convolution](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#convolution)
- [opaque](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#opaque)
- [pixelate](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#pixelate)
- [convolute](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#convolute)
- [normalize](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#normalize)
- [invert](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#invert)
npm package: @jimp/plugin-contain
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-contain</h1>   <p>Contain an image within a height and width.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-contain</h1>
  <p>Contain an image within a height and width.</p>
</div>

- [contain](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#contain)
npm package: @jimp/plugin-cover
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-cover</h1>   <p>Cover an image within a height and width.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-cover</h1>
  <p>Cover an image within a height and width.</p>
</div>

- [cover](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#cover)
npm package: @jimp/plugin-crop
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-crop</h1>   <p>Crop an image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-crop</h1>
  <p>Crop an image.</p>
</div>

- [crop](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#crop)
- [autocrop](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#autocrop)
npm package: @jimp/plugin-displace
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-displace</h1>   <p>Displace an image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-displace</h1>
  <p>Displace an image.</p>
</div>

Displaces the image based on the provided displacement map

- [displace](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#displace)
npm package: @jimp/plugin-dither
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-dither</h1>   <p>Apply a dither effect to an image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-dither</h1>
  <p>Apply a dither effect to an image.</p>
</div>

> Dither - is an intentionally applied form of noise used to randomize quantization error, preventing large-scale patterns such as color banding in images. Dither is routinely used in processing of both digital audio and video data, and is often one of the last stages of mastering audio to a CD.

- [dither](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#dither)
npm package: @jimp/plugin-fisheye
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-fisheye</h1>   <p>Apply a fisheye effect to an image</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-fisheye</h1>
  <p>Apply a fisheye effect to an image</p>
</div>

- [fisheye](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#fisheye)
npm package: @jimp/plugin-flip
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-flip</h1>   <p>flip an image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-flip</h1>
  <p>flip an image.</p>
</div>

Flip the image horizontally or vertically. Defaults to horizontal.

Also aliased as `mirror`

- [flip](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#flip)
- [mirror](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#mirror)
npm package: @jimp/plugin-gaussian
Description: gaussian blur an image.
Latest version: 0.22.12

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-gaussian</h1>
  <p>Gaussian blur an image.</p>
</div>

Applies a true Gaussian blur to the image (warning: this is VERY slow)

## Usage

- @param {number} r the pixel radius of the blur
- @param {function(Error, Jimp)} cb (optional) a callback for when complete

```js
import jimp from "jimp";

async function main() {
  const image = await jimp.read("test/image.png");

  image.gaussian(15);
}

main();
```
npm package: @jimp/plugin-invert
Description: invert an image.
Latest version: 0.22.12

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-invert</h1>
  <p>Invert an image's colors.</p>
</div>

Invert an image's colors.

## Usage

- @param {function(Error, Jimp)} cb (optional) a callback for when complete

```js
import jimp from "jimp";

async function main() {
  const image = await jimp.read("test/image.png");

  image.invert();
}

main();
```
npm package: @jimp/plugin-mask
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-mask</h1>   <p>mask an image with another image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-mask</h1>
  <p>mask an image with another image.</p>
</div>

Masks a source image on to this image using average pixel colour. A completely black pixel on the mask will turn a pixel in the image completely transparent.

- [mask](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#mask)
npm package: @jimp/plugin-normalize
Description: normalize an image.
Latest version: 0.22.12

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-normalize</h1>
  <p>Normalize an image's colors.</p>
</div>

Normalizes an images color by computing a histogram.

## Usage

- @param {function(Error, Jimp)} cb (optional) a callback for when complete

```js
import jimp from "jimp";

async function main() {
  const image = await jimp.read("test/image.png");

  image.normalize();
}

main();
```
npm package: @jimp/plugin-print
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/core</h1> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/core</h1>
</div>

The main Jimp class. This class can be extended with types and bitmap manipulation functions. Out of the box it does not support any image type.

- [print](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#print)
- [loadFont](http://jimp-dev.github.io/jimp/api/jimp/functions/loadfont/)
npm package: @jimp/plugin-quantize
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-quantize</h1>   <p>Reduces the number of colors in an image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-quantize</h1>
  <p>Reduces the number of colors in an image.</p>
</div>

- [quantize](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#quantize)
npm package: @jimp/plugin-resize
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-resize</h1>   <p>Resize an image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-resize</h1>
  <p>Resize an image.</p>
</div>

Resizes the image to a set width and height using a 2-pass bilinear algorithm.

- [resize](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#resize)
- [scale](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#scale)
- [scaleToFit](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#scaletofit)
npm package: @jimp/plugin-rotate
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-rotate</h1>   <p>Rotate an image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-rotate</h1>
  <p>Rotate an image.</p>
</div>

Rotates the image counter-clockwise by a number of degrees. By default the width and height of the image will be resized appropriately.

- [rotate](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#rotate)
npm package: @jimp/plugin-scale
Description: scale an image.
Latest version: 0.22.12

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-scale</h1>
  <p>Scale an image.</p>
</div>

## scale

Uniformly scales the image by a factor.

- @param {number} f the factor to scale the image by
- @param {string} mode (optional) a scaling method (e.g. Jimp.RESIZE_BEZIER)
- @param {function(Error, Jimp)} cb (optional) a callback for when complete

```js
import jimp from "jimp";

async function main() {
  const image = await jimp.read("test/image.png");

  image.scale(2);
  image.scale(2, jimp.RESIZE_BEZIER);
}

main();
```

## scaleToFit

Scale the image to the largest size that fits inside the rectangle that has the given width and height.

- @param {number} w the width to resize the image to
- @param {number} h the height to resize the image to
- @param {string} mode (optional) a scaling method (e.g. Jimp.RESIZE_BEZIER)
- @param {function(Error, Jimp)} cb (optional) a callback for when complete

```js
import jimp from "jimp";

async function main() {
  const image = await jimp.read("test/image.png");

  image.scaleToFit(100, 100);
}

main();
```
npm package: @jimp/plugin-shadow
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-shadow</h1>   <p>Creates a shadow on an image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-shadow</h1>
  <p>Creates a shadow on an image.</p>
</div>

- [shadow](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#shadow)
npm package: @jimp/plugin-threshold
Description: <div align="center">   <img width="200" height="200"     src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">   <h1>@jimp/plugin-threshold</h1>   <p>Lightens an image.</p> </div>
Author: Andrew Lisowski
Latest version: 1.6.1

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugin-threshold</h1>
  <p>Lightens an image.</p>
</div>

This is useful as a simplified method for processing scanned drawings, signatures, etc

- [threshold](http://jimp-dev.github.io/jimp/api/jimp/classes/jimp#threshold)
npm package: @jimp/plugins
Description: Default Jimp plugin.
Latest version: 0.22.12

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/plugins</h1>
  <p>Default Jimp plugins.</p>
</div>

## Included Plugins

- [blit](../plugin-blit)
- [blur](../plugin-blur)
- [color](../plugin-color)
- [contain](../plugin-contain)
- [cover](../plugin-cover)
- [displace](../plugin-displace)
- [dither](../plugin-dither)
- [flip](../plugin-flip)
- [gaussian](../plugin-gaussian)
- [invert](../plugin-invert)
- [mask](../plugin-mask)
- [normalize](../plugin-normalize)
- [print](../plugin-print)
- [resize](../plugin-resize)
- [rotate](../plugin-rotate)
- [scale](../plugin-scale)
npm package: @jimp/png
Description: Default Jimp png encoder/decoder.
Latest version: 0.22.12

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/png</h1>
  <p>Default Jimp png encoder/decoder.</p>
</div>

## Available Methods

### Jimp.deflateLevel

Sets the deflate level used when saving as PNG format (default is 9)

### Jimp.deflateStrategy

Sets the deflate strategy used when saving as PNG format (default is 3)

### Jimp.filterType

Sets the filter type used when saving as PNG format (default is automatic filters)

### Jimp.colorType

Sets the color type used when saving as PNG format (one of 0, 2, 4, 6)

### Filter Types

```js
Jimp.PNG_FILTER_AUTO;
Jimp.PNG_FILTER_NONE;
Jimp.PNG_FILTER_SUB;
Jimp.PNG_FILTER_UP;
Jimp.PNG_FILTER_AVERAGE;
Jimp.PNG_FILTER_PATH;
```
npm package: @jimp/tiff
Description: Default Jimp tiff encoder/decoder.
Latest version: 0.22.12

<div align="center">
  <img width="200" height="200"
    src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png">
  <h1>@jimp/tiff</h1>
  <p>Default Jimp tiff encoder/decoder.</p>
</div>
npm package: @jimp/wasm-avif
Description: A format plugin for Jimp that adds support for AVIF images using the [libavif](https://github.com/AOMediaCodec/libavif).
Author: Andrew Lisowski
Latest version: 1.6.1

# `@jimp/wasm-avif`

A format plugin for Jimp that adds support for AVIF images using the [libavif](https://github.com/AOMediaCodec/libavif).

> NOTE: Only works in esm environments.

## Usage

```ts
import { createJimp } from "@jimp/core";
import { defaultPlugins } from "jimp";
import avif from "@jimp/wasm-avif";

// A custom jimp that supports webp
const Jimp = createJimp({
  formats: [avif],
  plugins: defaultPlugins,
});
```
npm package: @jimp/wasm-jpeg
Description: A format plugin for Jimp that adds support for JPEG images using [mozjpeg](https://github.com/mozilla/mozjpeg).
Author: Andrew Lisowski
Latest version: 1.6.1

# `@jimp/wasm-jpeg`

A format plugin for Jimp that adds support for JPEG images using [mozjpeg](https://github.com/mozilla/mozjpeg).

> NOTE: Only works in esm environments.

## Usage

```ts
import { createJimp } from "@jimp/core";
import { defaultPlugins } from "jimp";
import jpeg from "@jimp/wasm-jpeg";

// A custom jimp that supports webp
const Jimp = createJimp({
  formats: [jpeg],
  plugins: defaultPlugins,
});
```
npm package: @jimp/wasm-png
Description: A format plugin for Jimp that adds support for PNG images using the [rust crate](https://docs.rs/png/0.11.0/png/). It also support optimizing the image using [oxipng](https://github.com/shssoichiro/oxipng).
Author: Andrew Lisowski
Latest version: 1.6.1

# `@jimp/wasm-png`

A format plugin for Jimp that adds support for PNG images using the [rust crate](https://docs.rs/png/0.11.0/png/).
It also support optimizing the image using [oxipng](https://github.com/shssoichiro/oxipng).

> NOTE: Only works in esm environments.

## Usage

```ts
import { createJimp } from "@jimp/core";
import { defaultPlugins } from "jimp";
import png from "@jimp/wasm-png";

// A custom jimp that supports webp
const Jimp = createJimp({
  formats: [png],
  plugins: defaultPlugins,
});
```
npm package: @jimp/wasm-webp
Description: A format plugin for Jimp that adds support for WebP images.
Author: Andrew Lisowski
Latest version: 1.6.1

# `@jimp/wasm-webp`

A format plugin for Jimp that adds support for WebP images.

> NOTE: Only works in esm environments.

## Usage

```ts
import { createJimp } from "@jimp/core";
import { defaultFormats, defaultPlugins } from "jimp";
import webp from "@jimp/wasm-webp";

// A custom jimp that supports webp
const Jimp = createJimp({
  formats: [...defaultFormats, webp],
  plugins: defaultPlugins,
});
```
npm package: @jimpick/dat-geoip
Description: Use hypertrie to look up IP geolocation
Author: Jim Pick
Latest version: 0.0.1

@jimpick/dat-geoip
==================

An experiment in using hypertrie to host a peer-to-peer geo ip lookup database.

The data from [MaxMind GeoLite2](https://dev.maxmind.com/geoip/geoip2/geolite2/)
is loaded into a [hypertrie](https://github.com/mafintosh/hypertrie).

# Install

```
npm install -g @jimpick/dat-geoip
```

# Usage

There is a CLI to look up an IP address:

```
$ dat-geoip 66.6.44.4
{
  "ip": "66.6.44.4",
  "network": "66.6.32.0/20",
  "geonameId": 5128581,
  "registeredCountryGeonameId": 6252001,
  "representedCountryGeonameId": 0,
  "isAnonymousProxy": false,
  "isSatelliteProvider": false,
  "postalCode": "10010",
  "latitude": 40.7391,
  "longitude": -73.9826,
  "accuracyRadius": 1000,
  "localeCode": "en",
  "continentCode": "NA",
  "continentName": "North America",
  "countryIsoCode": "US",
  "countryName": "United States",
  "subdivision1IsoCode": "NY",
  "subdivision1Name": "New York",
  "subdivision2IsoCode": "",
  "subdivision2Name": "",
  "cityName": "New York",
  "metroCode": "501",
  "timeZone": "America/New_York",
  "isInEuropeanUnion": false
}
```

# Limitations

* Just a demo - the data I am seeding might not stay online forever
* IPv4 only right now
* English only
* Dat key for database is hardcoded
* No library yet
* Data is stored as JSON - it would be better to store it in a binary format
* The lookup strategy is quite naive and not heavily tested. A high performance
  version would probably build a custom index
* Uses the free GeoLite2 database. I haven't tried loading the paid GeoIP2
  database (it probably would work, but take care to keep the key private to
  avoid violating license terms)

# License

This software is MIT licensed.

The data that gets loaded into it from MaxMind has this license:

```
This product includes GeoLite2 data created by MaxMind, available from
<a href="http://www.maxmind.com">http://www.maxmind.com</a>.
```
npm package: @jimpick/dat-log
Description: view history of dat in the cli
Author: Joe Hand
Latest version: 1.2.0-2

# dat-log

view history of a dat in the CLI

[![npm][npm-image]][npm-url]
[![travis][travis-image]][travis-url]
[![standard][standard-image]][standard-url]

`dat-log` prints all changes, the file versions, and information about the dat:

```
❯ dat-log dat://64375abb733a62fa301b1f124427e825d292a6d3ba25a26c9d4303a7987bec65
1 [put] / 0 B (0 blocks)
2 [put] /README 175 B (1 block)
3 [put] /dat.json 309 B (1 block)
4 [put] /far-manzanar.csv 2.0 MB (31 blocks)
5 [put] /far-minidoka.csv 2.1 MB (33 blocks)
6 [put] /far-poston.csv 3.6 MB (55 blocks)
7 [put] /wra-master.csv 73 MB (1111 blocks)

Log synced with network

Archive has 7 changes (puts: +7, dels: -0)
Current Size: 80 MB
Total Size:
- Metadata 436 B
- Content 80 MB
Blocks:
- Metadata 8
- Content 1232
```

## Install

If you already have `dat` installed, run it with `dat log`!

```
npm install -g dat-log
```

## Usage

You can view history for a local dat (any directory with a `.dat` folder):

```sh
dat-log /my-data
```

Or view history for a remote dat using the dat link:

```sh
dat-log dat://64375abb733a62fa301b1f124427e825d292a6d3ba25a26c9d4303a7987bec65 
```

Options: 

* `--live, -l`: Keep process running and view live history

## License

[MIT](LICENSE.md)

[npm-image]: https://img.shields.io/npm/v/dat-log.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/dat-log
[travis-image]: https://img.shields.io/travis/joehand/dat-log.svg?style=flat-square
[travis-url]: https://travis-ci.org/joehand/dat-log
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[standard-url]: http://npm.im/standard
npm package: @jimpick/dat-storage
Description: Dat specific storage provider for Hyperdrive
Author: Mathias Buus
Latest version: 1.0.4-3

# dat-storage

Dat specific storage provider for [Hyperdrive](https://github.com/mafintosh/hyperdrive)

```
npm install dat-storage
```

## Usage

``` js
var storage = require('dat-storage')

// files are stored in ./my-dataset
// metadata (hashes and stuff) are stored in ./my-dataset/.dat
// secret keys are stored in ~/.dat/secret_keys/<discovery-key>
var archive = hyperdrive(storage('my-dataset'))
```

### Custom storage provider

You can require this module in your own storage provider in order to override certain behaviors for some files while still using the default dat storage methods for other files. Here's an example of overriding only the secret key storage and nothing else:

```js
const defaultStorage = require('dat-storage')
const alternativeSecretStorage = require('your-own-custom-random-access-file-module')

module.exports = function keychainStorage() {
  const storage = defaultStorage(...arguments)
  return {
    metadata: function(file, opts) {
      if (file === 'secret_key') alternativeSecretStorage(file)
      return storage.metadata(...arguments)
    },
    content: function(file, opts) {
      return storage.content(...arguments)
    }
  }
}
```

### Options

- `secretDir` - folder to store secret keys in (default is users home dir)
- `prefix` - subfolder to put dat SLEEP files in (default is `.dat/`)

### Secret Keys

By default secret keys are stored in the users home directory via [dat-secret-storage](https://github.com/joehand/dat-secret-storage). To change the directory, pass it as an option:

```js
var storage = require('dat-storage')

var archive = hyperdrive(storage('my-dataset', {secretDir: '/secret_keys'})
```

## License

MIT
npm package: @jimpick/delta-crdts-msgpack-codec
Description: Msgpack codec for delta-crdts
Author: IPFS Shipyard
Latest version: 0.2.0-1

# delta-crdts-msgpack-codec

Msgpack codec for delta-crdts

[![made by Protocol Labs](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai)

[![Build Status](https://travis-ci.org/ipfs-shipyard/js-delta-crdts-msgpack-codec.svg?branch=master)](https://travis-ci.org/ipfs-shipyard/js-delta-crdts-msgpack-codec)

# Install

```bash
$ npm install delta-crdts-msgpack-codec
```

# API

```js
const codec = require('delta-crdts-msgpack-codec')
const delta = /// from the network

const rawDelta = codec.encode(delta)
const delta = codec.decode(rawDelta)
```

# Contribute

[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/contributing.md)

# License

MIT