{"versions":{"0.1.4":{"name":"@kenjiuno/decompressrtf","version":"0.1.4","description":"Decompress CompressedRTF (used in outlook msg)","main":"lib/index.js","types":"lib/index.d.ts","author":{"name":"kenjiuno"},"repository":{"type":"git","url":"git+https://github.com/HiraokaHyperTools/DeCompressRTF.git"},"license":"BSD-2-Clause","private":false,"scripts":{"build":"tsc","test":"mocha --require ts-node/register 'src/test/**/*.ts'","prepare":"npm run build && npm test"},"devDependencies":{"@types/mocha":"^9.0.0","@types/node":"^16.6.0","commander":"^8.1.0","mocha":"^9.0.3","ts-node":"^10.2.0","typescript":"^4.3.5"},"gitHead":"305aacbf1ea514436a1a5f078cdde2d03264e215","bugs":{"url":"https://github.com/HiraokaHyperTools/DeCompressRTF/issues"},"homepage":"https://github.com/HiraokaHyperTools/DeCompressRTF#readme","_id":"@kenjiuno/decompressrtf@0.1.4","_nodeVersion":"14.17.3","_npmVersion":"7.20.3","dist":{"shasum":"17b123616a4549203a64ce5bc58b40494b796e30","size":3051,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@kenjiuno/decompressrtf/-/decompressrtf-0.1.4.tgz","integrity":"sha512-v9c/iFz17jRWyd2cRnrvJg4VOg/4I/VCk+bG8JnoX2gJ9sAesPzo3uTqcmlVXdpasTI8hChpBVw00pghKe3qTQ=="},"_npmUser":{"name":"anonymous","email":"h8mastre@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"h8mastre@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompressrtf_0.1.4_1628756352267_0.553770851304074"},"_hasShrinkwrap":false,"publish_time":1628756352446,"_cnpm_publish_time":1628756352446,"_cnpmcore_publish_time":"2021-12-17T05:54:38.922Z","contributors":[]},"0.1.3":{"name":"@kenjiuno/decompressrtf","version":"0.1.3","description":"Decompress CompressedRTF (used in outlook msg)","main":"lib/index.js","types":"lib/index.d.ts","author":{"name":"kenjiuno"},"repository":{"type":"git","url":"git+https://github.com/HiraokaHyperTools/DeCompressRTF.git"},"license":"BSD-2-Clause","private":false,"scripts":{"build":"npm run build:types && npm run build:js","build:js":"babel src --out-dir lib --extensions .ts","build:types":"tsc --emitDeclarationOnly","test":"echo \"Error: no test specified\"","prepare":"npm run build"},"devDependencies":{"@babel/cli":"^7.8.4","@babel/core":"^7.9.0","@babel/plugin-proposal-class-properties":"^7.8.3","@babel/plugin-proposal-object-rest-spread":"^7.9.0","@babel/preset-env":"^7.9.0","@babel/preset-typescript":"^7.9.0","commander":"^5.0.0","typescript":"^3.8.3"},"gitHead":"d66eb1440305d15bc4d27ee211e9358987e23750","bugs":{"url":"https://github.com/HiraokaHyperTools/DeCompressRTF/issues"},"homepage":"https://github.com/HiraokaHyperTools/DeCompressRTF#readme","_id":"@kenjiuno/decompressrtf@0.1.3","_nodeVersion":"12.13.0","_npmVersion":"6.14.3","dist":{"shasum":"838d1bcc53d1923d9eef6d7d92e87a1801664a52","size":3694,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@kenjiuno/decompressrtf/-/decompressrtf-0.1.3.tgz","integrity":"sha512-Hpgi2jbP73+2Lri8MJ/Jbf8ZIViuG4Z4UsPU3bEqWB6MY8Z6kd8KDLmw/5pUVQq4gvKtDUto8DtXSuEUo3fpPA=="},"maintainers":[{"name":"anonymous","email":"h8mastre@gmail.com"}],"_npmUser":{"name":"anonymous","email":"h8mastre@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompressrtf_0.1.3_1584980821581_0.2696154586812076"},"_hasShrinkwrap":false,"publish_time":1584980821694,"_cnpm_publish_time":1584980821694,"_cnpmcore_publish_time":"2021-12-17T05:54:39.136Z","contributors":[]},"0.1.2":{"name":"@kenjiuno/decompressrtf","version":"0.1.2","description":"Decompress CompressedRTF (used in outlook msg)","main":"lib/index.js","types":"lib/index.d.ts","author":{"name":"kenjiuno"},"repository":{"type":"git","url":"git+https://github.com/HiraokaHyperTools/DeCompressRTF.git"},"license":"BSD-2-Clause","private":false,"scripts":{"build":"npm run build:types && npm run build:js","build:js":"babel src --out-dir lib --extensions .ts","build:types":"tsc --emitDeclarationOnly","test":"echo \"Error: no test specified\"","prepare":"npm run build"},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/plugin-proposal-class-properties":"^7.3.4","@babel/plugin-proposal-object-rest-spread":"^7.3.4","@babel/preset-env":"^7.0.0","@babel/preset-typescript":"^7.1.0","typescript":"^3.3.3333"},"gitHead":"9dbe1e98b8910f2ef779e7eb9e80aac08e01624b","bugs":{"url":"https://github.com/HiraokaHyperTools/DeCompressRTF/issues"},"homepage":"https://github.com/HiraokaHyperTools/DeCompressRTF#readme","_id":"@kenjiuno/decompressrtf@0.1.2","_nodeVersion":"8.11.3","_npmVersion":"6.6.0","dist":{"shasum":"c24335273cc54d961dc7ea173cdef8a88ab1b423","size":3470,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@kenjiuno/decompressrtf/-/decompressrtf-0.1.2.tgz","integrity":"sha512-z0yupEMrsHs8NpaJ/o1F+NbI2CuAxbx0HMUEMmuoNAphHznJAWGfp1B3k1hk8RuMF7JnZRubU8vftR4ZXpv3oA=="},"maintainers":[{"name":"anonymous","email":"h8mastre@gmail.com"}],"_npmUser":{"name":"anonymous","email":"h8mastre@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompressrtf_0.1.2_1551682484965_0.5688340516020527"},"_hasShrinkwrap":false,"publish_time":1551682485103,"_cnpm_publish_time":1551682485103,"_cnpmcore_publish_time":"2021-12-17T05:54:39.341Z","contributors":[]},"0.1.1":{"name":"@kenjiuno/decompressrtf","version":"0.1.1","description":"Decompress CompressedRTF (used in outlook msg)","main":"lib/index.js","author":{"name":"kenjiuno"},"repository":{"type":"git","url":"git+https://github.com/HiraokaHyperTools/DeCompressRTF.git"},"license":"BSD-2-Clause","private":false,"scripts":{"build":"babel src --out-dir lib --extensions .ts","test":"echo \"Error: no test specified\"","prepare":"npm run build"},"babel":{"presets":["@babel/preset-env","@babel/preset-typescript"]},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/preset-typescript":"^7.1.0"},"gitHead":"3f9df584b974f062e4f7a58c50692f2c44dbc069","bugs":{"url":"https://github.com/HiraokaHyperTools/DeCompressRTF/issues"},"homepage":"https://github.com/HiraokaHyperTools/DeCompressRTF#readme","_id":"@kenjiuno/decompressrtf@0.1.1","_npmVersion":"6.4.1","_nodeVersion":"9.4.0","_npmUser":{"name":"anonymous","email":"h8mastre@gmail.com"},"dist":{"shasum":"ac46d0261a98ce4ac8dea62ea11b3e905063307a","size":3052,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@kenjiuno/decompressrtf/-/decompressrtf-0.1.1.tgz","integrity":"sha512-ltiY0eJFvtKNJd8FntvqTzTmLlyfXQqghjSr/k/SvcbfFWA2Lr56u8z1q/0kQYJ6Q6j+qVI5V/vDMc0we25y+g=="},"maintainers":[{"name":"anonymous","email":"h8mastre@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompressrtf_0.1.1_1548509536207_0.284941503025145"},"_hasShrinkwrap":false,"publish_time":1548509536299,"_cnpm_publish_time":1548509536299,"_cnpmcore_publish_time":"2021-12-17T05:54:39.613Z","contributors":[]},"0.1.0":{"name":"@kenjiuno/decompressrtf","version":"0.1.0","description":"Decompress CompressedRTF stored in outlook msg","main":"lib/index.js","author":{"name":"kenjiuno"},"repository":{"type":"git","url":"git+https://github.com/HiraokaHyperTools/DeCompressRTF.git"},"license":"BSD-2-Clause","private":false,"scripts":{"build":"babel src --out-dir lib --extensions .ts","test":"echo \"Error: no test specified\"","prepare":"npm run build"},"babel":{"presets":["@babel/preset-env","@babel/preset-typescript"]},"devDependencies":{"@babel/cli":"^7.0.0","@babel/core":"^7.0.0","@babel/preset-env":"^7.0.0","@babel/preset-typescript":"^7.1.0"},"gitHead":"0043300d7fad7ca3520e02e49fbc8d639397e0da","bugs":{"url":"https://github.com/HiraokaHyperTools/DeCompressRTF/issues"},"homepage":"https://github.com/HiraokaHyperTools/DeCompressRTF#readme","_id":"@kenjiuno/decompressrtf@0.1.0","_npmVersion":"6.4.1","_nodeVersion":"9.4.0","_npmUser":{"name":"anonymous","email":"h8mastre@gmail.com"},"dist":{"shasum":"338a81fcd2861f6a035741e6a9f3e69ad62dd86f","size":2959,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@kenjiuno/decompressrtf/-/decompressrtf-0.1.0.tgz","integrity":"sha512-H3wOH8FaabwXGicgoaCVQz7d4Z47yFEoF/0gDVdgsg6RSPI5WJUJTsfM0UbhzooAClq5URtdvPSCexdyxkoewQ=="},"maintainers":[{"name":"anonymous","email":"h8mastre@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/decompressrtf_0.1.0_1548472171045_0.5204254187221495"},"_hasShrinkwrap":false,"publish_time":1548472171156,"_cnpm_publish_time":1548472171156,"_cnpmcore_publish_time":"2021-12-17T05:54:39.815Z","contributors":[]}},"dist-tags":{"latest":"0.1.4"},"name":"@kenjiuno/decompressrtf","time":{"created":"2022-01-27T19:45:36.007Z","modified":"2023-08-01T12:29:41.966Z","0.1.4":"2021-08-12T08:19:12.446Z","0.1.3":"2020-03-23T16:27:01.694Z","0.1.2":"2019-03-04T06:54:45.103Z","0.1.1":"2019-01-26T13:32:16.299Z","0.1.0":"2019-01-26T03:09:31.156Z"},"readme":"# DeCompressRTF\r\n\r\n[![npm](https://img.shields.io/npm/v/@kenjiuno/decompressrtf)](https://www.npmjs.com/package/@kenjiuno/decompressrtf)\r\n\r\nCompressedRTF is a compressed entity found in Outlook Item File (.msg).\r\n\r\nDeCompressRTF is a decompressor in JavaScript npm module\r\n\r\n## How to use\r\n\r\n```javascript\r\nconst fs = require('fs');\r\nconst { decompressRTF } = require('@kenjiuno/decompressrtf');\r\n\r\nconst inputArray = fs.readFileSync('test/__substg1.0_10090102');\r\nconst outputArray = decompressRTF(inputArray);\r\n\r\nconsole.log(Buffer.from(outputArray).toString(\"ascii\"));\r\n```\r\n\r\n## Reference\r\n\r\n- The Compressed RTF Format\r\n  https://www.freeutils.net/source/jtnef/rtfcompressed\r\n\r\n- 2.1.3.1 RTF Compression Format\r\n  https://msdn.microsoft.com/en-us/library/ee159164(v=exchg.80).aspx\r\n\r\n- 1009-PidTagRtfCompressed\r\n  https://github.com/HiraokaHyperTools/OXPROPS/blob/master/JSON/1009-PidTagRtfCompressed.md","users":{}}