
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
simple-input-formatter
Advanced tools
See an example https://jon49.github.io/simple-input-formatter/.
Format the input element to whatever you like and only submit the raw data.
This custom element is 1.1 kB minified.
Define your formatter:
(() => {
let USDollar = new Intl.NumberFormat('en-US', {
style: 'currency',
currency: 'USD',
});
window.currency = {
format(value) {
return USDollar.format(value)
},
isValid(value) {
return (isNaN(value))
? 'Must be a number'
: ''
}
}
})()
Put on your HTML page:
<form>
<format-input data-format="currency">
<input
type="number"
step="2"
name="test"
placeholder="Give me a number!">
</format-input>
<button>OK</button>
</form>
See the tests to see how it works!
Improved handling of invalid data.
Added ability to insert error message in element using data-show-invalid.
FAQs
Minimalist JavaScript to make form input formatting simple
The npm package simple-input-formatter receives a total of 18 weekly downloads. As such, simple-input-formatter popularity was classified as not popular.
We found that simple-input-formatter 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
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.