
Security News
OpenClaw Advisory Surge Highlights Gaps Between GHSA and CVE Tracking
A recent burst of security disclosures in the OpenClaw project is drawing attention to how vulnerability information flows across advisory and CVE systems.
power-mode-input
Advanced tools
PowerModeInput can make your text input box more compelling
This project can make your input box lively. One day I saw a vscode plugin called Power Mode, so I wanted to write a similar javascript library. This project uses proton.js and it is also great.

npm install --save power-mode-input
import PowerModeInput from 'power-mode-input';
...
PowerModeInput.make(document.getElementById("obinput"));
// or
PowerModeInput.make(".phone", {
height: 5,
tha: [0, 360],
g: 0.5,
num: 5,
radius: 6,
circle: true,
alpha: [0.75, 0.1],
color: "random"
});
react, you can use it like thiscomponentDidMount(){
PowerModeInput.make(this.inputRef.current);
}
vue.jsmounted() {
PowerModeInput.make(this.$refs.inputRef);
}
angularconst inputElement = this.elementRef.nativeElement.querySelector('input');
PowerModeInput.make(inputElement);
PowerModeInput.make(input, {
height: 5,
tha: [0, 360],
g: 0.5,
num: 5,
... // Parameter
});
| key | describe | type | example |
|---|---|---|---|
g | Whether to add gravity | number | 1 |
num | The number of particles emitted each time | number | 3 |
radius | The radius of every particle | number | 10 |
alpha | The alpha of every particle | number | .1 |
tha | The Particle emitter angle | array | [0, 360] |
v | The Particle emitter Particle velocity | number | 0.5 |
life | The life of every particle | number | 1.2 |
color | Particle color | array or string | #ffcccc |
random | Random force | number | 1.2 |
y | Particle emitter height | number | 2 |
height | Particle emitter height Ibid | number | 2 |
I very much hope that you can work with me to modify the code. I also have a lot of fun ideas. Maybe you can join me to implement it.
FAQs
Make your input box input very shocking
The npm package power-mode-input receives a total of 23 weekly downloads. As such, power-mode-input popularity was classified as not popular.
We found that power-mode-input 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
A recent burst of security disclosures in the OpenClaw project is drawing attention to how vulnerability information flows across advisory and CVE systems.

Research
/Security News
Mixed-script homoglyphs and a lookalike domain mimic imToken’s import flow to capture mnemonics and private keys.

Security News
Latio’s 2026 report recognizes Socket as a Supply Chain Innovator and highlights our work in 0-day malware detection, SCA, and auto-patching.