Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Very small integer text mask for basic applications.
import { picomask, transform } from 'picomask'
const mask = picomask('09072021', 'mm/dd/yyyy')
// => { value: '09/07/2021', m: '09', d: '07', y: '2021' }
const anotherMask = transform(mask, 'yyyy-mm-dd')
// => { value: '2021-09-07', m: '09', d: '07', y: '2021' }
picomask('07092021', 'dd-mm-yyyy') // => { value: '07-09-2021', ... }
picomask('20210907', 'yyyy-mm-dd') // => { value: '2021-09-07', ... }
picomask('1231231234', '(nnn) nnn-nnnn') // => { value: '(123) 123-1234', ... }
picomask('0624', 'mm/yy') // => { value: '06/24', ... }
picomask('4242424242424242', 'cccc cccc cccc cccc') // => { value: '4242 4242 4242 4242', ... }
MIT License © Truework
FAQs
Very small integer text mask for basic applications.
The npm package picomask receives a total of 956 weekly downloads. As such, picomask popularity was classified as not popular.
We found that picomask demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.