open-index/open-npm huggingface dataset:
npm package: @lofcz/depset
Description: Synchronize dependencies in package.json
Latest version: 52.3.6

# depset

A command-line tool to synchronize package dependencies in your `package.json` to their latest versions, a specific target version, or versions matching a pattern.

## Invocation

Run `depset` using your preferred package manager:

- **npx:**
  ```bash
  npx depset@latest [args...]
  ```
- **pnpm:**
  ```bash
  pnpm dlx depset@latest [args...]
  ```
- **yarn:**
  ```bash
  yarn dlx depset@latest [args...]
  ```
- **bun:**
  ```bash
  bunx depset@latest [args...]
  ```

## Usage

```bash
depset [package-specifier] [target-version] [options]
```

## Arguments

- **`[package-specifier]`** (Optional)\
  The package name or pattern to target. If omitted (and `--yes` is not used), you will be prompted.

  - **Exact Name:** e.g., `lodash`, `@babel/core`
  - **Scope:** e.g., `@myorg` (targets packages like `@myorg/component-a`, `@myorg/utils`)
  - **Prefix:** e.g., `eslint-*` (targets packages like `eslint-plugin-react`, `eslint-config-next`)

- **`[target-version]`** (Optional)\
  The maximum version to synchronize to (e.g., "1", "1.2", "1.2.3"). If omitted (and neither `--latest` nor `--yes` are used), you will be prompted. If `--latest` is used, this is ignored.

## Options

```txt
Usage: depset [options] [package-specifier] [target-version]

Synchronize package dependencies to their latest or a specific version.

Arguments:
  package-specifier   Package name or pattern (e.g., "@scope/foo*", "my-package", "@myorg").
                      Prompts if not provided (unless -y is used).
  target-version      Target version (e.g., "1.2.3"). Prompts if not provided (unless -L or -y is used).
                      Defaults to latest if left blank in prompt or if -L is used.

Options:
  -L, --latest        Use the latest version, skip version prompt. (default: false)
  -i, --install       Automatically run install after updating package.json. (default: false)
  -y, --yes           Skip all confirmation prompts. (default: false)
  -c, --cwd <path>    Set the current working directory. (default: current directory)
  -s, --silent        Silence all output except for errors. (default: false)
  -v, --version       Display the version number.
  -h, --help          Display help for command.
```

## Examples

1.  **Sync `lodash` to its latest version (prompts for version if not specified with `--latest`):**

    ```bash
    npx depset@latest lodash
    ```

2.  **Sync all packages in the `@babel` scope to their absolute latest versions, and install, skipping all prompts:**

    ```bash
    npx depset@latest @babel --latest --install --yes
    ```

3.  **Sync packages starting with `eslint-` up to version `8.50.0`:**

    ```bash
    npx depset@latest "eslint-*" 8.50.0
    ```

    _(You will be prompted to confirm changes and installation unless `-y` is used)_

4.  **Run interactively, prompting for all inputs:**
    ```bash
    npx depset@latest
    ```
npm package: @lofcz/platejs-autoformat
Description: Autoformatting plugin for Plate
Latest version: 52.3.6

# Plate autoformat plugin

This package implements the autoformatting plugin for Plate. It allows
styling text by typing sequences like **bold**.

## Documentation

Check out
[Autoformat](https://platejs.org/docs/autoformat).

## License

[MIT](../../LICENSE)
npm package: @lofcz/platejs-basic-nodes
Description: Basic nodes plugin for Plate
Latest version: 52.3.6

# Plate basic elements plugin

This package implements the basic elements in a single plugin:

- block quote
- code block
- heading
- paragraph

## Documentation

Check out
[Basic Elements](https://platejs.org/docs/basic-blocks).

## License

[MIT](../../LICENSE)
npm package: @lofcz/platejs-code-drawing
Description: Code drawing plugin for Plate (PlantUml, Graphviz, Flowchart, Mermaid)
Latest version: 52.3.6

# Plate code-drawing plugin

This package implements the code-drawing plugin for Plate, supporting PlantUml, Graphviz, Flowchart, and Mermaid diagrams.

## Documentation

Check out [Code Drawing](https://platejs.org/docs/code-drawing).

## License

[MIT](../../LICENSE)
npm package: @lofcz/platejs-combobox
Description: Combobox for Plate
Latest version: 52.3.6

# Plate combobox

This package implements the combobox for Plate.

## Documentation

Check out [Playground](https://platejs.org/docs/playground) and
[Combobox](https://platejs.org/docs/combobox).

## License

[MIT](../../LICENSE)
npm package: @lofcz/platejs-docx
Description: Docx serializer plugin for Plate
Latest version: 52.3.6

# Plate Docx serializer plugin

This package implements the docx deserializer for Plate.

## Documentation

[comment]: <> (Check out [Serializing HTML]&#40;https://platejs.org/docs/html&#41;.)

## License

[MIT](../../LICENSE)
npm package: @lofcz/platejs-juice
Description: HTML juice plugin for Plate
Latest version: 52.3.6

# Plate juice plugin

This package implements the juice plugin for Plate.

Given inserted HTML, [juice](https://www.npmjs.com/package/juice) will inline the CSS properties into the style attribute.

## Documentation

Check out
[Serializing HTML](https://platejs.org/docs/html).

## License

[MIT](../../LICENSE)
npm package: @lofcz/platejs-list
Description: List plugin for Plate
Latest version: 52.3.6

# Plate indent list plugin

This package implements the indent list plugin for Plate.
It's a mix of indent and list plugins, also called as a "flat list"
because the list structure has no children.

## Documentation

Check out [List](https://platejs.org/docs/list).

## License

[MIT](../../LICENSE)
npm package: @lofcz/platejs-media
Description: Plate Media plugin
Latest version: 52.3.6

# Plate media plugins

This package implements the media plugins for Plate. It allows inserting
embeddable media such as images, YouTube or Vimeo videos and tweets into your
editor.

Includes:

- caption
- resizable
- media
- image
- iframe

## Documentation

- Check out [Media](https://platejs.org/docs/media).

## License

[MIT](../../LICENSE)
npm package: @lofcz/platejs-tabbable
Description: Tab into and out of void nodes and other elements
Latest version: 52.3.6

# Plate tabbable plugin

This package programmatically corrects the tab order for tabbable elements inside the editor

## Documentation

Check out
[Tabbable](https://platejs.org/docs/tabbable).

## License

[MIT](../../LICENSE)
npm package: @lofcz/platejs-toggle
Description: Toggle plugin for Plate
Latest version: 52.3.6

# Plate toggle plugin

This package implements the toggle plugin for Plate.
It's similar to the indent list plugin, in that it relies on the indent of siblings.

## Documentation

Check out [Toggle](https://platejs.org/docs/toggle).

## Ideas to improve this plugin

1. Adding an option `initialValue` of open `toggleIds` and a callback `onChange`, for instance to store the state of open toggles in local storage and remember the state upon browser refresh.
2. Adding an option `defaultOpen`. Currently, toggles are closed on initial rendering.
3. Adding an option to specify how to get the indent value of elements, right now we are relying on this being the default `KEY_ELEMENT` from the `indent` plugin
4. An option to specify how to get the id of elements, right now we are using the default id attribute from the `node-id` plugin.
5. Adding a placeholder below the toggle, like Notion does, when the toggle is expanded without any elements below.
6. Make toggle button more accessible
7. When indenting an element right of a closed toggle, it becomes hidden. This makes sense, but a nicer UI would be to open the toggle in that case, like Notion does.

## License

[MIT](../../LICENSE)
npm package: @lofcz/udecode-react-hotkeys
Description: Fork of react-hotkeys-hook
Latest version: 52.3.6

# Udecode react-hotkeys-hook fork

This is a fork of the original [react-hotkeys-hook@5.0.0-1](https://github.com/JohannesKlauss/react-hotkeys-hook) and [the following changes](https://github.com/JohannesKlauss/react-hotkeys-hook/compare/v5.0.0-1...zeorin:react-hotkeys-hook:70411dc8a33aeebceb98f48d126693d3360ad4e5).

## Documentation

Visit https://platejs.org/docs/api/react-utils to view the documentation.

## License

[MIT](../../LICENSE)
npm package: @lofd/react-virtualized-tree
Description: react-virtualized-tree React component
Author: Diogo Cunha
Latest version: 2.0.2

# react-virtualized-tree

[![Travis][build-badge]][build]
[![npm package][npm-badge]][npm]
[![Coveralls][coveralls-badge]][coveralls]
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/react-virtualized-tree/Lobby)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)

[build-badge]: https://img.shields.io/travis/diogofcunha/react-virtualized-tree/master.png?style=flat-square
[build]: https://travis-ci.org/diogofcunha/react-virtualized-tree
[npm-badge]: https://img.shields.io/npm/v/react-virtualized-tree.png?style=flat-square
[npm]: https://www.npmjs.com/package/react-virtualized-tree
[coveralls-badge]: https://img.shields.io/coveralls/diogofcunha/react-virtualized-tree/master.png?style=flat-square
[coveralls]: https://coveralls.io/github/diogofcunha/react-virtualized-tree

<div align="center" style="margin-bottom: 30px;">
<img src="https://user-images.githubusercontent.com/1521183/37708046-14cf3fb4-2cfd-11e8-9fad-8c0d557397cd.gif" width="650"/>
</div>

## Introduction

**react-virtualized-tree** is a tree view react library built on top of [react-virtualized](https://bvaughn.github.io/react-virtualized/#/components/List)

Its main goal is to display tree like data in a beautiful and fast way. Being a reactive library it uses children functions to achieve maximum extensibility. The core idea behind it is that anyone using it is enable to create a tree as they intent just by rendering their own components or components exported by the tree.

Demo and docs can be found [in here](https://diogofcunha.github.io/react-virtualized-tree/#/examples/basic-tree).

## Installation

You can install via npm or yarn.
`npm i react-virtualized-tree --save`

or

`yarn add react-virtualized-tree`

To get the basic styles for free you need to import react-virtualized styles only once.

```
import 'react-virtualized/styles.css'
import 'react-virtualized-tree/lib/main.css'
```

If you want to use the icons in the default renderers do the same for material icons.

`import 'material-icons/css/material-icons.css'`

## Usage

To use the standalone tree

`import Tree from 'react-virtualized-tree'`

To use the FilteringContainer

`import { FilteringContainer } from 'react-virtualized-tree'`

## Dependencies

Most react-virtualized-tree Dependencies are managed internally, the only required peerDependencies are **react**, **react-dom** and **react-virtualized**.
npm package: @lofik/react
Description: React library for building local-first apps.
Author: pycan
Latest version: 2.0.14

# lofik react

To see lofik being used in a demo app, have a look at the [examples](https://github.com/pycan-jouza/lofik/tree/master/examples)

## Basic usage

> [!IMPORTANT]
> To make persistent storage (OPFS) work, these two headers are required
>
> - `Cross-Origin-Opener-Policy: same-origin`
> - `Cross-Origin-Embedder-Policy: require-corp`

Use `LofikProvider` at the top of your app:

```
    <LofikProvider
      create={[
        // updatedAt column is required to determine if database operation should be applied
        `
        CREATE TABLE IF NOT EXISTS todos (
          id VARCHAR(40) PRIMARY KEY,
          title TEXT NOT NULL,
          pubKeyHex TEXT NOT NULL,
          deletedAt INTEGER,
          updatedAt INTEGER NOT NULL,
          createdAt INTEGER NOT NULL
        );
      `,
      ]}
      seed={[]} // array of sql queries
      loader={<div>loading..</div>}
      migrate={async (db) => {}}
      websocketServerUrl="ws://localhost:8080"
    >
     {children}
    </LofikProvider>
```

Then make use of the following hooks. The library is written in typescript, autocomplete will help you a lot.

- `useLofikAccount`
- `useLofikAccountActions`
- `useLofikDatabase`
- `useLofikMutation`
- `useLofikQuery`
- `useLofikQueryClient`
npm package: @lofik/server
Description: Node.js server library for syncing local-first apps.
Author: pycan
Latest version: 1.0.15

# lofik (sync) server

You can use the public lofik server at `lofik.jouzina.com` (it can't read your data) or run your own.

Currently, there are 2 ways of running lofik server.

## Docker (recommended)

```
docker run -d --name lofik-server -p 8080:8080 -e ORIGIN=http://localhost:5000 -v /path-to-local-folder-to-store-your-db:/home/node/app/prisma/db pycan/lofik-server:latest
```

Using the volume is important to persist the database with update messages.

## NPM package

`npm i @lofik/server`

```
import {startLofikServer} from "@lofik/server";

startLofikServer();
```

> [!IMPORTANT]
> When running the server, you must specify the `DATABASE_URL` env variable. Use absolute path. Example: `DATABASE_URL=file:/Users/user/Documents/lofik/main.db`