open-index/open-npm huggingface dataset:
npm package: @lsst-sqre/jupyterlab-lsstextensions
Description: LSST Query functions menu
Author: LSST DM/SQuaRE
Latest version: 2.0.0

# Jupyterlab-lsst-extensions

This is a package to hold a Jupyter endpoint (in Python) to perform
creation of notebooks from supplied parameters and templates, and a
corresponding lab extension to provide UI elements to facilitate that
template substitution.
npm package: @lsst-sqre/jupyterlab-rubinhub
Description: One-stop save-and-terminate-container-and-logout.
Author: Rubin Observatory DM/SQuaRE
Latest version: 0.0.3

# jupyterlab-savequit

JupyterLab Save-and-Quit

This allows the user to save all notebooks, stop the container, and log
out of the hub.

## Prerequisites

* JupyterLab 1.0.0-alpha6 or later.
* A properly configured JupyterHub.

## Installation

To install this extension into JupyterLab, do the following:

```bash
jupyter labextension install jupyterlab-savequit
```

You will also need to start the single user servers in JupyterHub using the following command (that ships with JupyterLab 0.22 and greater):

```bash
jupyter labhub
```

## Development

For a development install (requires npm version 4 or later), do the following in the repository directory:

```bash
npm install
jupyter labextension link .
```

To rebuild the package and the JupyterLab app after making changes:

```bash
npm run build
jupyter lab build
```
npm package: @lsst-sqre/jupyterlab-savequit
Description: One-stop save-and-terminate-container-and-logout.
Author: LSST DM/SQuaRE
Latest version: 1.0.0-alpha.7

# jupyterlab-savequit

JupyterLab Save-and-Quit

This allows the user to save all notebooks, stop the container, and log
out of the hub.

## Prerequisites

* JupyterLab 1.0.0-alpha6 or later.
* A properly configured JupyterHub.

## Installation

To install this extension into JupyterLab, do the following:

```bash
jupyter labextension install jupyterlab-savequit
```

You will also need to start the single user servers in JupyterHub using the following command (that ships with JupyterLab 0.22 and greater):

```bash
jupyter labhub
```

## Development

For a development install (requires npm version 4 or later), do the following in the repository directory:

```bash
npm install
jupyter labextension link .
```

To rebuild the package and the JupyterLab app after making changes:

```bash
npm run build
jupyter lab build
```
npm package: @lsst-sqre/rubin-labextension-displayversion
Description: Display Lab container version info in status bar
Author: Rubin Observatory DM/SQuaRE
Latest version: 0.0.1

# Rubin Observatory JupyterLab Display Version Extension

This Lab extension provides the lab version in the status bar.

## Installation

To install this extension into JupyterLab, do the following:

```bash
jupyter labextension install @lsst-sqre/rubin-labextension-displayversion
```

It requires the
`rubin_jupyter_utils.hub.serverextensions.display_version` Jupyter
Server extension (from https://github.com/lsst-sqre/rubin-jupyter-lab).
npm package: @lsst-sqre/rubin-labextension-query
Description: Create populated notebook from query ID
Author: Rubin Observatory DM/SQuaRE
Latest version: 0.0.1

# Rubin Observatory JupyterLab Query Extension

This Lab extension provides a menu to generate notebooks from query IDs.

## Installation

To install this extension into JupyterLab, do the following:

```bash
jupyter labextension install @lsst-sqre/rubin-query
```

It requires the `rubin_jupyter_utils.hub.serverextensions.query` Jupyter 
Server extension (from https://github.com/lsst-sqre/rubin-jupyter-lab).
npm package: @lsst-sqre/rubin-labextension-savequit
Description: One-stop save-and-terminate-container-and-logout.
Author: Rubin Observatory DM/SQuaRE
Latest version: 0.0.2

# rubin-labextensions-savequit

Rubin JupyterLab Save-and-Quit

This allows the user to save all notebooks, stop the container, and log
out of the hub.

## Prerequisites

* JupyterLab 2.x.
* A properly configured JupyterHub.

## Installation

To install this extension into JupyterLab, do the following:

```bash
jupyter labextension install rubin-labextensions-savequit
```

It requires the `rubin_jupyter_utils.hub.serverextensions.hub_comm`
Jupyter Server extension (from
https://github.com/lsst-sqre/rubin-jupyter-lab).
npm package: @lsst/pik
Description: Extensible CLI toolkit for simplifying developers' everyday tasks like config switching and worktree management
Author: Yurii Tatar
Latest version: 0.8.0

# @lsst/pik

A developer toolkit with extensible plugins for common development tasks.

## Installation

```bash
npm install -g @lsst/pik
```

## Configuration

Create `pik.config.ts` in your project root:

```typescript
export default {
  // Enable select plugin
  select: {
    include: ['src/**/*.ts', '.env'],
  },

  // Enable worktree plugin
  worktree: {
    baseDir: '../',
    copyFiles: ['.env.local'],
    postCreate: 'npm install',
  },
};
```

Plugins are only available when their configuration key is present.

## Built-in Plugins

### Select Plugin

Switch config options in source files using `@pik` markers.

#### 1. Add markers to your files

```typescript
// @pik:select Environment
// const env = 'DEV';     // @pik:option DEV
const env = 'LOCAL';      // @pik:option LOCAL
```

#### 2. Run commands

```bash
pik select              # Interactive mode
pik select list         # List all selectors
pik select set Environment DEV  # Set directly
```

### Worktree Plugin

Manage git worktrees with automatic setup.

```bash
pik worktree              # Interactive mode
pik worktree create       # Create a new worktree
pik worktree list         # List all worktrees
pik worktree remove       # Remove a worktree
```

## External Plugins

Add third-party or custom plugins:

```typescript
import { myPlugin } from 'pik-plugin-my';

export default {
  plugins: [
    myPlugin({ apiKey: 'xxx' }),
  ],
  select: { include: ['src/**/*.ts'] },
};
```

## Commands

### Select

| Command | Alias | Description |
|---------|-------|-------------|
| `pik select` | `sel` | Interactive selection mode |
| `pik select list` | `ls` | Show all selectors and their state |
| `pik select set <selector> <option>` | - | Set an option directly |

### Worktree

| Command | Alias | Description |
|---------|-------|-------------|
| `pik worktree` | `wt` | Interactive worktree menu |
| `pik worktree create [name]` | `add` | Create a new worktree |
| `pik worktree list` | `ls` | List all worktrees |
| `pik worktree remove [path]` | `rm` | Remove a worktree |

## Marker Syntax

- `@pik:select <name>` - Defines a selector group
- `@pik:option <name>` - Marks an option within a selector

Commented lines are inactive, uncommented lines are active.

## Supported Comment Styles

| Extensions | Comment Style |
|------------|---------------|
| `.ts`, `.js`, `.tsx`, `.jsx`, `.mts`, `.mjs` | `//` |
| `.html`, `.htm` | `//` and `<!-- -->` |
| `.sh`, `.bash`, `.zsh`, `.py`, `.yaml`, `.yml`, `.env` | `#` |

## License

MIT
npm package: @lsst/pik-plugin-select
Description: Config selector plugin for pik CLI
Author: Yurii Tatar
Latest version: 0.8.0

# @lsst/pik-plugin-select

Select plugin for pik - switch config options in source files using `@pik` markers.

## Installation

This plugin is included with `@lsst/pik` by default.

```bash
npm install -g @lsst/pik
```

## Usage

### 1. Add markers to your files

```typescript
// @pik:select Environment
const API_URL = "https://dev.example.com"; // @pik:option DEV
// const API_URL = "https://example.com"; // @pik:option PROD
```

### 2. Configure in `pik.config.ts`

```typescript
import { defineConfig } from '@lsst/pik';

export default defineConfig({
  select: {
    include: ['src/**/*.ts', '.env'],
  },
});
```

### 3. Run commands

```bash
pik select              # Interactive mode
pik select list         # List all selectors
pik select set <name> <option>  # Set directly
```

## Marker Syntax

- `@pik:select <name>` - Defines a selector group
- `@pik:option <name>` - Marks a single-line option within a selector
- `@pik:block-start <name>` - Starts a multi-line block option
- `@pik:block-end` - Ends a multi-line block option

### Inline Style

Marker on the same line as content:

```typescript
// @pik:select Environment
const API_URL = "https://dev.example.com"; // @pik:option DEV
// const API_URL = "https://example.com"; // @pik:option PROD
```

### Standalone Style

Marker on its own line, content on the next line (useful for HTML):

```html
<!-- @pik:select Viewer -->
<!-- @pik:option Develop -->
<script src="https://dev.example.com/viewer.js"></script>
<!-- @pik:option Local -->
<!-- <script src="http://localhost:3000/viewer.js"></script> -->
```

### Block Style

For multi-line options where you need to switch entire blocks of configuration:

```bash
# @pik:select Environment
# @pik:block-start Development
API_URL=http://localhost:3000
DEBUG=true
LOG_LEVEL=debug
# @pik:block-end
# @pik:block-start Production
# API_URL=https://api.example.com
# DEBUG=false
# LOG_LEVEL=error
# @pik:block-end
```

When switching blocks:
- The selected block's content lines are uncommented
- All other blocks' content lines are commented out

## Supported File Types

| Extensions | Comment Style |
|------------|---------------|
| `.ts`, `.js`, `.tsx`, `.jsx`, `.mts`, `.mjs` | `//` |
| `.html`, `.htm` | `//` and `<!-- -->` |
| `.sh`, `.bash`, `.zsh`, `.py`, `.yaml`, `.yml`, `.env` | `#` |

## License

MIT
npm package: @lsst/pik-plugin-worktree
Description: Git worktree management plugin for pik CLI
Author: Yurii Tatar
Latest version: 0.8.0

# @lsst/pik-plugin-worktree

Git worktree management plugin for pik - easily create, list, and remove git worktrees.

## Installation

This plugin is included with `@lsst/pik` by default.

```bash
npm install -g @lsst/pik
```

## Usage

```bash
# Interactive create (default)
pik worktree

# Create with specific name
pik worktree create my-feature

# Create new branch
pik worktree create my-feature -n -b feature/new-thing

# List all worktrees
pik worktree list

# Remove a worktree
pik worktree remove
```

## Configuration

Add to your `pik.config.ts`:

```typescript
import { defineConfig } from '@lsst/pik';

export default defineConfig({
  worktree: {
    // Directory where worktrees are created (relative to repo root)
    baseDir: '../',

    // Files to copy to new worktrees
    copyFiles: ['.env.local', '.env.development'],

    // Command to run after creating worktree
    postCreate: 'npm install',
  },
});
```

## Commands

| Command | Alias | Description |
|---------|-------|-------------|
| `pik worktree` | `wt` | Interactive worktree creation |
| `pik worktree create [name]` | `add` | Create a new worktree |
| `pik worktree list` | `ls` | List all worktrees |
| `pik worktree remove [path]` | `rm` | Remove a worktree |

### Create Options

| Option | Description |
|--------|-------------|
| `-b, --branch <branch>` | Branch to checkout or create |
| `-n, --new` | Create a new branch |

### Remove Options

| Option | Description |
|--------|-------------|
| `-f, --force` | Force removal even if dirty |
| `-D, --delete-branch` | Also delete the branch |

## License

MIT
npm package: @lsvih/cytoscape-cxtmenu
Description: A circular context menu (with submenu) extension for Cytoscape.js
Author: lsvih
Latest version: 3.1.7

cytoscape-cxtmenu
================================================================================

This project is a fork of [official repo](https://github.com/cytoscape/cytoscape.js-cxtmenu)

New features:

- Using traditional gesture for operation
- Support submenu

![Preview](https://raw.githubusercontent.com/lsvih/cytoscape.js-cxtmenu/master/preview.png)

[Demo](https://lsvih.github.io/cytoscape.js-cxtmenu/)

## Dependencies

 * Cytoscape.js ^3.2.0
 
## Install and Import

```bash
npm install @lsvih/cytoscape-cxtmenu --save
```

```js
import cxtmenu from '@lsvih/cytoscape-cxtmenu'
cytoscape.use(cxtmenu)
```
 
## Usage and Options

See [original repo](https://github.com/cytoscape/cytoscape.js-cxtmenu)

Options about submenu: refer to [demo.html](https://github.com/lsvih/cytoscape.js-cxtmenu/blob/master/demo.html)
npm package: @lsvue/mobile-enums
Description: Lonsun Tool Library
Latest version: 0.0.1

# @lonsun/mobile-enums

lonsun enums

## Usage

Install package:

```sh
# npm
npm install @lonsun/mobile-enums

# yarn
yarn add @lonsun/mobile-enums

# pnpm
pnpm install @lonsun/mobile-enums
```

Import:

```js
// ESM
import {} from "@lonsun/mobile-enums";

// CommonJS
const {} = require("@lonsun/mobile-enums");
```
npm package: @lswlishiwen/use-enhance-reducer
Description: 增强react useReducer支持dispatch一个函数
Author: lishiwen
Latest version: 1.0.5

# use-enhance-reducer
[![GitHub stars](https://img.shields.io/github/stars/fuzzy-lee/use-enhance-reducer?style=social)](https://github.com/fuzzy-lee/use-enhance-reducer)&nbsp;&nbsp;[![GitHub](https://img.shields.io/github/license/fuzzy-lee/use-enhance-reducer)](https://github.com/fuzzy-lee/use-enhance-reducer/blob/master/LICENSE)&nbsp;&nbsp;[![npm bundle size (scoped)](https://img.shields.io/bundlephobia/minzip/@lswlishiwen/use-enhance-reducer?color=rgb%28124%2C176%2C18%29)](https://github.com/fuzzy-lee/use-enhance-reducer/blob/master/dist/useEnhanceReducer.js)&nbsp;&nbsp;[![GitHub last commit](https://img.shields.io/github/last-commit/fuzzy-lee/use-enhance-reducer?color=RGB%28141%2C186%2C5%29)](https://github.com/fuzzy-lee/use-enhance-reducer)

增强react useReducer支持dispatch一个函数


### usage
`npm install --save @lswlishiwen/use-enhance-reducer`

与react的useReducer使用方法一致(将来会支持惰性初始化)，额外增加支持dispatch一个函数
```javascript
import {useEnhanceReducer} from "@lswlishiwen/use-enhance-reducer";

//此处省略reducer、initState
let [state, dispatch] = useEnhanceReducer(reducer, initState);

let funAction = (dispatch, state) => {
    setTimeout(() => {
        dispatch({type: "ADD_TYPE"});
    }, 1000)
};

dispatch(funAction)

```


### TODO 
1. 支持惰性初始化（模拟重载实现）