open-index/open-npm huggingface dataset:
npm package: @jasonhk/variable-name
Description: A utility package consists functions that used to retrieve the name of variables.
Author: Jason Kwok
Latest version: 0.0.2

@jasonhk/variable-name
======================

A utility package consists functions that used to retrieve the name of variables.

[![npm-version-badge]][npm-package] [![npm-download-badge]][npm-package] [![npm-license-badge]][github-license] [![travis-build-badge]][travis-build] [![codecov-coverage-badge]][codecov-coverage]

## Installation

### Node.js

```bash
$ npm install @jasonhk/variable-name
```

## Usage

### Load the Library

#### CommonJS

```javascript
const { getVariableName, getVariableNames } = require("@jasonhk/variable-name");
```

#### ES2015 Modules

```javascript
import { getVariableName, getVariableNames } from "@jasonhk/variable-name";
```

### Using the Library

Get the name of a variable:

```javascript
const variable = 1337;

// Should return "variable"
getVariableName({ variable });
```

Get the names of a list of variables:

```javascript
const object = { property: 1337 };
const { property } = object;

// Should return ["object", "property"]
getVariableNames(
    [
        { object },
        { property },
    ]);
```

## License

Copyright &copy; 2019 [Jason Kwok][author-website].<br>
Licensed under the [MIT License][github-license].

[author-website]: https://jasonhk.net "Author's Website"

[github-license]: https://github.com/JasonHK/node-utilities/blob/master/packages/variable-name/LICENSE "Package's License File"

[npm-package]: https://www.npmjs.com/package/@jasonhk/variable-name "Package's NPM Registry Entry"
[npm-download-badge]: https://img.shields.io/npm/dt/@jasonhk/variable-name?style=flat-square "Package's Total Downloads"
[npm-license-badge]: https://img.shields.io/npm/l/@jasonhk/variable-name?style=flat-square "Package's License"
[npm-version-badge]: https://img.shields.io/npm/v/@jasonhk/variable-name?style=flat-square "Package's Version"

[travis-build]: https://travis-ci.com/JasonHK/node-utilities "Repository's Travis CI Page"
[travis-build-badge]: https://img.shields.io/travis/com/JasonHK/node-utilities?style=flat-square "Repository's Build Status"

[codecov-coverage]: https://codecov.io/gh/JasonHK/node-utilities "Repository's Codecov Page"
[codecov-coverage-badge]: https://img.shields.io/codecov/c/github/JasonHK/node-utilities?style=flat-square "Repository's Code Coverage"
npm package: @jasonhsieh/repo2txt
Description: Turn a git repo to a text file.
Latest version: 0.5.0

## repo2txt 

Output all files in a directory to one single text file, I use it for uploading codebase to LLM tools.



### Usage

`npx @jasonhsieh/repo2txt {repo_dir_path} {output_text_file_path}`

### Example

`npx @jasonhsieh/repo2txt ~/git/repo2txt ~/git/repo2txt/output.txt`

`cat ~/git/repo2txt/output.txt`
npm package: @jasonhsieh/star-search
Description: Search your star repositories on Github by text in README, description and repo name offline.
Author: jh
Latest version: 1.1.3

# github-star-search

Search your github starred repositories offline through `README` , `description` and other fields.

![Screen capture animation](./github-star-search.gif)

## Usage

[Generate new token](https://github.com/settings/tokens) with `public_repo` -> `Access public repositories` permission.

```sh
npm i -g @jasonhsieh/star-search
star-search
```

## Features

-   Search through `readme` and `url`, `homepageUrl`, `name`, `description` text offline.

-   Fuzzy search by [fuse.js](https://fusejs.io/). Exact match by adding double quote `"` such as `"express.js"`, or multiple `minimalist "express" "web framework for node"`.

-   Check new starred repos and update at most once daily while running

-   Select and open in browser. `Arrow Up`, `Arrow Down`, `Page Down`, `Page Up` and `Enter` to open in browser.

## Why?

Github [filter](https://github.com/tj?tab=stars) not support search through `README` content yet.

## License

MIT

## Credits

[wiki-cil](https://github.com/hexrcs/wiki-cli) - interactive UI style

[ink](https://github.com/vadimdemedes/ink) - awesome React cli renderer

and more....

```
	"@types/lodash.debounce": "^4.0.6",
	"@types/x-ray": "^2.3.3",
	"ajv": "^7.2.1",
	"ajv-errors": "^2.0.0",
	"cross-fetch": "^3.0.6",
	"fuse.js": "^6.4.6",
	"ink": "^3.0.8",
	"ink-text-input": "^4.0.1",
	"lodash.chunk": "^4.2.0",
	"lodash.debounce": "^4.0.8",
	"lodash.escaperegexp": "^4.1.2",
	"lodash.throttle": "^4.1.1",
	"mobx": "^6.1.8",
	"mobx-react-lite": "^3.2.0",
	"open": "^8.0.2",
	"react": "^17.0.1",
	"react-dom": "^17.0.1",
	"x-ray": "^2.3.4"
	"@types/lodash.chunk": "^4.2.6",
	"@types/lodash.escaperegexp": "^4.1.6",
	"@types/lodash.throttle": "^4.1.6",
	"@types/react": "^17.0.2",
	"chalk": "^4.1.0",
	"eslint-config-xo-react": "^0.24.0",
	"eslint-plugin-react": "^7.22.0",
	"eslint-plugin-react-hooks": "^4.2.0",
	"ink-testing-library": "^2.1.0",
	"prettier": "^2.2.1",
	"prettier-quick": "^0.0.5",
	"ts-node": "^9.1.1",
	"typescript": "^4.2.2",
	"typescript-json-schema": "^0.49.0"

```
npm package: @jasonish/pi-default-model
Description: Set a **real** default model
Author: Jason Ish
Latest version: 0.1.1

# pi-default-model

A small Pi extension that lets you save your **current model + thinking level** as the startup default.

On each new session, it reads `startupModel` from settings and applies it automatically.

## Commands

### `/set-default-model`
Save the currently active model and thinking level to **global** `startupModel`.

Examples:

```text
/set-default-model
/set-default-model --help
```

### `/set-project-default-model`
Save the currently active model and thinking level to **project** `startupModel` (`.pi/settings.json`).

### `/set-default-model-project`
Alias for `/set-project-default-model`.

### `/startup-model [--global|--project] [show|clear]`
Inspect or clear the saved startup setting.

Examples:

```text
/startup-model
/startup-model --project
/startup-model clear
/startup-model --project clear
/startup-model --help
```

## Where it stores settings

- Global: `~/.pi/agent/settings.json`
- Project: `.pi/settings.json`

Stored shape:

```json
{
  "startupModel": {
    "model": "provider/model-id",
    "thinkingLevel": "off|minimal|low|medium|high|xhigh"
  }
}
```

> Note: legacy string form is also read (`"startupModel": "provider/model-id"`).

## Typical workflow

1. Pick your model and thinking level in Pi.
2. Run `/set-default-model`.
3. Start a new session — the extension applies that model/thinking automatically.
npm package: @jasonish/pi-prompt-history
Description: Pi extension: search user prompt history across all sessions with Ctrl+Alt+R
Author: Jason Ish
Latest version: 0.1.0

# pi-prompt-history

Search your **user prompt history across all sessions** with a keyboard shortcut.

## Shortcut

- `Ctrl+Alt+R` — open prompt history search

## Behavior

1. Press `Ctrl+Alt+R`
2. A live-search picker opens
3. Type to fuzzy-filter results (fzf-style)
4. Press Enter to load the selected prompt into the editor

On first load (or cache refresh), a loading panel shows indexing progress.
Current session prompts are merged in immediately, so new prompts appear without waiting for cache expiry.

## Result Ordering

- Results are shown in **recency order** (newest first)
- Filtering does **not** reorder by fuzzy score; it only filters matches

No slash commands are added.

## License

MIT