
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.
digital-matrix-rain
Advanced tools
A cool matrix-style digital rain animation for terminal/console applications
A cool matrix-style digital rain animation for terminal/console applications. Create the iconic "Matrix" falling green text effect in your Node.js applications!
npm install digital-matrix-rain
# Basic matrix animation
npx digital-matrix-rain
# Or if installed globally
npm install -g digital-matrix-rain
digital-matrix
# With custom options
digital-matrix --speed 50 --color cyan --density 0.2
const { matrix, MatrixRain } = require('digital-matrix-rain');
// Quick start - classic green matrix
matrix();
// Custom configuration
const animation = new MatrixRain({
color: 'red',
speed: 80,
density: 0.15
});
animation.start();
// Run for specific duration (5 seconds)
animation.run(5000);
MatrixRain
ClassMain class for creating matrix animations.
const animation = new MatrixRain(options);
Option | Type | Default | Description |
---|---|---|---|
width | number | Terminal width | Animation width in characters |
height | number | Terminal height | Animation height in lines |
speed | number | 100 | Animation speed in milliseconds |
density | number | 0.1 | Drop density (0.0 - 1.0) |
color | string | 'green' | Color theme |
chars | string | Mixed alphanumeric | Custom character set |
start()
- Start the animationstop()
- Stop the animationrun(duration)
- Run for specific duration in milliseconds// Quick matrix with default settings
matrix();
// Create animation instance
const animation = createMatrixAnimation(options);
// Run demo
demo();
green
(classic Matrix)red
blue
yellow
magenta
cyan
white
digital-matrix [options]
Options:
-s, --speed <number> Animation speed in ms (default: 100)
-c, --color <color> Color theme (default: green)
-d, --density <number> Drop density 0.0-1.0 (default: 0.1)
-h, --help Show help
Examples:
digital-matrix
digital-matrix --speed 50 --color cyan
digital-matrix -s 150 -c red -d 0.2
const { MatrixRain } = require('digital-matrix-rain');
const matrix = new MatrixRain();
matrix.start();
// Stop after 10 seconds
setTimeout(() => {
matrix.stop();
}, 10000);
const { MatrixRain } = require('digital-matrix-rain');
const customMatrix = new MatrixRain({
color: 'cyan',
speed: 60,
density: 0.2,
chars: '01ⱦ⌘▓▒░█' // Custom cyberpunk characters
});
customMatrix.start();
const { MatrixRain } = require('digital-matrix-rain');
// Sequence of different colored animations
const colors = ['green', 'red', 'blue', 'cyan'];
let index = 0;
function nextAnimation() {
if (index >= colors.length) return;
const matrix = new MatrixRain({
color: colors[index],
speed: 80
});
matrix.run(3000);
index++;
setTimeout(nextAnimation, 3500);
}
nextAnimation();
npm test # Run tests
npm start # Start basic animation
npm run matrix # CLI matrix animation
npm run demo # Run color demo
Run the included demo to see all colors and effects:
npm run demo
git clone <your-repo>
cd digital-matrix-rain
npm install
npm test
ISC
arsh
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)Inspired by the iconic digital rain effect from "The Matrix" movie series. Perfect for:
"Welcome to the Matrix... 🕶️"
FAQs
A cool matrix-style digital rain animation for terminal/console applications
The npm package digital-matrix-rain receives a total of 0 weekly downloads. As such, digital-matrix-rain popularity was classified as not popular.
We found that digital-matrix-rain 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.