@kenjiuno/msgreader-web-ng
v0.2.0-alpha1
Published
Outlook Item File (.msg) reader in JavaScript Npm Module
Readme
msgreader-web-ng
Links: typedoc documentation | online demo
Outlook Item File (.msg) reader in JavaScript npm Module
Original projects:
- https://github.com/FreiraumIO/msgreader
- https://github.com/ykarpovich/msg.reader
- https://github.com/HiraokaHyperTools/msgreader
About modernization:
- This is a special version of msgreader.
- It removed the dependency of
iconv-litepackage. - It is said that the
iconv-litepackage relies on Node.js-specific APIs likebufferandstring_decoder. - This version will help to run msgreader on both a web browser (using Vite or such) and Node.js runtimes.
And also it is published as a npm package.
Usage:
import { MsgReader } from "@kenjiuno/msgreader-web-ng";
const testMsg = new MsgReader(arrayBuffer);
testMsg.parserConfig = {
ansiEncoding: ansiEncoding,
includeRawProps: includeRawProps,
};
const testMsgInfo = testMsg.getFileData();
// ...