
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
eml-parse-js
Advanced tools
RFC 822 EML file format parser and builder, Can be used in browser environment
fork from
eml-format-js
(used in Browser env) &eml-format
(used in NodeJs env)
eml-format-js
for parsing html from the eml with quoted-printable
data
with base64
in attachmentimport { parseEml, readEml, GBKUTF8, decode } from 'eml-parse-js';
// const eml = await axios(http | ajax).get()
// `.eml` file
readEml(eml, (err, ReadEmlJson) => {
});
interface Attachment {
name: string;
contentType: string;
inline: boolean;
data: string | Uint8Array;
data64: string;
filename?: string;
mimeType?: string;
id?: string;
cid?: string;
}
interface ReadEmlJson {
attachments: Attachment
date: Date | string;
subject: string;
from: EmailAddress | EmailAddress[] | null;
to: EmailAddress | EmailAddress[] | null;
cc?: EmailAddress | EmailAddress[] | null;
headers: EmlHeaders;
multipartAlternative?: {
'Content-Type': string;
};
text?: string;
textheaders?: BoundaryHeaders;
html?: string; // email html data
htmlheaders?: BoundaryHeaders;
attachments?: Attachment[];
data?: string;
}
FAQs
format EML file in browser env
The npm package eml-parse-js receives a total of 4,062 weekly downloads. As such, eml-parse-js popularity was classified as popular.
We found that eml-parse-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.