Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
ink-marquee
Advanced tools
marquee component for Ink
$ npm install ink-marquee
# or
$ yarn add ink-marquee
const { h, render } = require('ink');
const Marquee = require('ink-marquee');
render(<Marquee color="blue" text="long long text" />);
name | type | default | desc |
---|---|---|---|
text | string | "" | required |
color | string | "green" | "red", "green", "blue"... e.t.c. -> see also chalk |
direction | string | "rtl" | flow direction. "rtl": right to left, "ltr": left to right. |
speed | number | 500 | flow type. the unit is millisecond |
width | number | window(terminal) width | flowable area width. |
repeat | boolean | true | repeat if flowed |
code:
<Marquee text="12" width={3} direction="ltr" speed={1000} repeat={true} />
result:
1__
↓ after 1sec
21_
↓ after 1sec
_21
↓ after 1sec
__2
↓ after 1sec
___
↓ after 1sec
1__
MIT © 2017 y-takey
FAQs
marquee component for [Ink](https://github.com/vadimdemedes/ink)
We found that ink-marquee 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.