open-index/open-npm huggingface dataset:
npm package: @kenjiuno/decompressrtf
Description: Decompress CompressedRTF (used in outlook msg)
Author: kenjiuno
Latest version: 0.1.4

# DeCompressRTF

[![npm](https://img.shields.io/npm/v/@kenjiuno/decompressrtf)](https://www.npmjs.com/package/@kenjiuno/decompressrtf)

CompressedRTF is a compressed entity found in Outlook Item File (.msg).

DeCompressRTF is a decompressor in JavaScript npm module

## How to use

```javascript
const fs = require('fs');
const { decompressRTF } = require('@kenjiuno/decompressrtf');

const inputArray = fs.readFileSync('test/__substg1.0_10090102');
const outputArray = decompressRTF(inputArray);

console.log(Buffer.from(outputArray).toString("ascii"));
```

## Reference

- The Compressed RTF Format
  https://www.freeutils.net/source/jtnef/rtfcompressed

- 2.1.3.1 RTF Compression Format
  https://msdn.microsoft.com/en-us/library/ee159164(v=exchg.80).aspx

- 1009-PidTagRtfCompressed
  https://github.com/HiraokaHyperTools/OXPROPS/blob/master/JSON/1009-PidTagRtfCompressed.md
npm package: @kenjiuno/iconvlite-wrapper-with-iso2022jp
Description: A simple replacement of `iconv-lite` package in order to support `iso-2022-jp` decoding.
Author: kenjiuno
Latest version: 0.1.0

# iconvlite-wrapper-with-iso2022jp

A simple replacement of `iconv-lite` package in order to support `iso-2022-jp` decoding.