
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
checkbox-tree-sync
Advanced tools
CheckboxTreeSync is a zero dependency lightweight library designed for TypeScript projects, and it offers the following features:
Simplifies the management of hierarchical data, like trees, with unique synchronization capabilities:
Framework-agnostic: Use it seamlessly in any TypeScript project, regardless of the framework.
Headless: Provides complete control and flexibility for UI integration.
To use the CheckboxTreeSync library in your project, you can install it via npm or yarn.
npm install checkbox-tree-sync
or
yarn add checkbox-tree-sync
The CheckboxTreeSync library is headless, meaning it doesn't come with a specific UI or framework tie-ins. It's designed to be framework-agnostic and can be used in various environments, including TypeScript-based projects.
Here's a basic example of how to use it:
import { useCheckboxTreeSync } from 'checkbox-tree-sync';
// Define your data and options
const data = // Your hierarchical data
// Create a CheckboxTreeSync instance using the adapter
const { checkBoxTreeSync } = useCheckboxTreeSync({
data,
state: {},
getSubCheckboxes: (item) => // Your function to get sub-checkboxes,
getCheckboxId: (item) => // Your function to get a checkbox's ID,
onStateChange: (state) => // Handle state changes,
});
// Use the CheckboxTreeSync instance to manage and interact with your data
// ...
https://codesandbox.io/s/new-sky-rh72xj - vanilla css & react https://codesandbox.io/s/focused-water-fxkcgm - material ui
The CheckboxTreeSync library fully supports TypeScript, providing type definitions for its core components. You can take full advantage of TypeScript's static type checking and code intelligence when using this library.
If you'd like to contribute to the CheckboxTreeSync library, please check the CONTRIBUTING.md file for guidelines on how to get started. (coming soon)
This project is licensed under the ISC License. See the LICENSE file for details.
FAQs
A lightweight library for checkbox tree synchronization
The npm package checkbox-tree-sync receives a total of 2 weekly downloads. As such, checkbox-tree-sync popularity was classified as not popular.
We found that checkbox-tree-sync 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.