Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
github.com/bryanbraun/checkboxland
Checkboxland is a JavaScript library for rendering anything as HTML checkboxes.
You can use it to display animations, text, images, video, and arbitrary data. It also supports plugins, so you can add your own APIs.
Checkboxland is dependency-free, framework-agnostic, and fun! 🙃
For more details see the docs.
Install this package via npm:
npm install checkboxland
Import it into your application, and create a checkbox grid:
import { Checkboxland } from 'checkboxland';
const cbl = new Checkboxland({ dimensions: '8x7', selector: '#my-container' });
// Create a data representation of the heart.
const heart = [
[0,1,1,0,0,1,1,0],
[1,0,0,1,1,0,0,1],
[1,0,0,0,0,0,0,1],
[1,0,0,0,0,0,0,1],
[0,1,0,0,0,0,1,0],
[0,0,1,0,0,1,0,0],
[0,0,0,1,1,0,0,0],
];
// This updates the grid with the data we provided.
cbl.setData(heart);
Checkboxland is designed to be extendable. If you want to add a feature, first ask yourself if it could be done as an external plugin.
If you contribution requires a change to the core library, follow these steps:
npm run dev
) to confirm that the demos still work as expected.MIT
FAQs
Unknown package
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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
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.