
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.
asianbreak-html
Advanced tools
Automatically strip breaklines from HTML for east asian people, based on new CSS3 spec of white-space property.
Automatically strip breaklines from HTML for east asian people, based on new CSS3 spec of white-space property.
const Asianbreak = require('asianbreak-html');
const asianbreak = Asianbreak();
asianbreak.pipe(process.stdout);
asianbreak.end(`
<blockquote>
婆さんは先刻から暦の話をしきりに為していた。
<em>みずのえ</em>だの<em>かのと</em>だの、
八朔だの友引だの、爪を切る日だの普請をする日だのと
頗る煩いものであった。
<cite style="
font-size: 0.8em;
">夏目漱石『それから』</cite>
</blockquote>
`);
output:
<blockquote>
婆さんは先刻から暦の話をしきりに為していた。<em>みずのえ</em>だの<em>かのと</em>だの、八朔だの友引だの、爪を切る日だの普請をする日だのと頗る煩いものであった。<cite style="
font-size: 0.8em;
">夏目漱石『それから』</cite>
</blockquote>
TODO: write
This module exposes single class Asianbreak
,
which allows you to use your normal stream Transforming API.
Processed HTML is emitted when it is ready even in partial form so it is "streaming." :smiley:
Asianbreak([options])
options
: unimplementedCreate new AsianBreak transforming instance. new
can be omitted.
FAQs
Automatically strip breaklines from HTML for east asian people, based on new CSS3 spec of white-space property.
We found that asianbreak-html demonstrated a not healthy version release cadence and project activity because the last version was released 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.