open-index/open-npm huggingface dataset:
npm package: @patrickhulce/erised
Description: Mirror a branch to many branches for GitHub PR isolation.
Author: Patrick Hulce
Latest version: 1.0.5

# erised

Command-line utility to mirror a single, local branch containing changes to many different projects into many separate commits / branches that can be landed independently. Useful for large monorepos with strict CI isolation requirements.

## Usage

```bash
# Setup Erised.
npm install -g @patrickhulce/erised
export ERISED_GITHUB_TOKEN=<get a personal token from GitHub>

# Start a commit affecting multiple subprojects in a monorepo.
touch apps/app-a/server.js
touch apps/app-b/server.js
git checkout -b my_feature_branch
git add apps/app-a apps/app-b
git commit -m 'fix: eliminates a critical memory leak'

# Use erised to split the branch into many isolated branches automatically.
erised mirror

# Upload those branches as PRs to GitHub.
erised upload

# Need to make a change? Just edit your original branch and run mirror again.
touch apps/app-b/server.js
git add apps/app-b/server.js
git commit -m 'oops a bug!'
erised mirror

# Check in on the status of PRs and update.
erised status
erised upload
```

## Development

```bash
npm i # Install deps.
npm test # Run test scripts.

npm run build:watch # Continuously build the source files into the binary.
npm start -- mirror # Run erised with your commands.
```

## TODO

- cleanup command
  - delete/cleanup branches
- merge command
  - automatically merge the PRs that can be merged
- idempotent mirror (create a staging branch and only rename if there's a diff)
- `--all` flag to handle all erised-managed branches at once
npm package: @patrickhulce/favicons
Description: Generates favicon files.
Author: Patrick Hulce
Latest version: 1.2.0

# @patrickhulce/favicons
[![NPM Package](https://img.shields.io/badge/npm-@patrickhulce/favicons-brightgreen.svg)](https://www.npmjs.com/package/@patrickhulce/favicons)
[![Build Status](https://travis-ci.org/patrickhulce/favicons.svg?branch=master)](https://travis-ci.org/patrickhulce/favicons)
[![Coverage Status](https://coveralls.io/repos/github/patrickhulce/favicons/badge.svg?branch=master)](https://coveralls.io/github/patrickhulce/favicons?branch=master)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Dependencies](https://david-dm.org/patrickhulce/favicons.svg)](https://david-dm.org/patrickhulce/favicons)

Generates favicon files.
npm package: @patrickhulce/lint
Description: Lints JavaScript/TypeScript/Code.
Author: Patrick Hulce
Latest version: 3.0.2

# @patrickhulce/lint

[![NPM Package](https://img.shields.io/badge/npm-@patrickhulce/lint-brightgreen.svg)](https://www.npmjs.com/package/@patrickhulce/lint)
[![Build Status](https://travis-ci.org/patrickhulce/lint.svg?branch=master)](https://travis-ci.org/patrickhulce/lint)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![Dependencies](https://david-dm.org/patrickhulce/lint.svg)](https://david-dm.org/patrickhulce/lint)

Lints JavaScript and TypeScript.

## Usage

```bash
lint # lints default js+ts in src/lib/bin and test files
lint --fix # lints, fixes, and prettifies default files
lint --fix --no-prettify # lints and fixes default files
lint -t react # lints jsx in src/lib/bin and test files
lint -t typescript './stuff/**/*.ts' # lints ts in ./stuff
```
npm package: @patrickhulce/scripts
Description: Collection of useful scripts.
Author: Patrick Hulce
Latest version: 0.4.1

# @patrickhulce/scripts

[![NPM Package](https://badge.fury.io/js/%40patrickhulce%2Fscripts.svg)](https://www.npmjs.com/package/@patrickhulce/scripts)

Collection of useful scripts.

- npm-publish
- git-rewrite
- tiny-image
- seamless-loop
npm package: @patrickjtoy/use-global-hook
Description: Easy state management for react using hooks in less than 1kb
Author: patrickjtoy
Latest version: 1.0.0

# use-global-hook

Easy state management for react using hooks in less than 1kb.

Built from [use-global-hook](https://github.com/andregardi/use-global-hook/blob/master/README.md) by [@andregardi](https://github.com/andregardi)

---

Table of Contents

- [Install](#install)
- [Example](#minimal-example)
- [Complete Examples](#complete-examples)
- [Using TypeScript](#using-typescript)

### Install:

```sh
npm i use-global-hook
```

or

```sh
yarn add use-global-hook
```
npm package: @patrickkettner/get-cursor-position
Description: Get the cursor's current position in your terminal.
Author: bubkoo
Latest version: 1.0.4

# get-cursor-position

> Get the cursor's current position in your terminal.
 
[![MIT License](https://img.shields.io/badge/license-MIT_License-green.svg?style=flat-square)](https://github.com/bubkoo/get-cursor-position/blob/master/LICENSE)
[![Package Quality](http://npm.packagequality.com/shield/get-cursor-position.svg)](http://packagequality.com/#?package=get-cursor-position)

## Install

```
$ npm install get-cursor-position --save
```

## Usage

Async:

```js

var getCursorPosition = require('get-cursor-position');

getCursorPosition.async(function(pos) {
    console.log('row: ' + pos.row);
    console.log('col: ' + pos.col);
});

```

Sync:

```js
var getCursorPosition = require('get-cursor-position');
var pos = getCursorPosition.sync();
console.log('row: ' + pos.row);
console.log('col: ' + pos.col);
```

## Contributing

Pull requests and stars are highly welcome.

For bugs and feature requests, please [create an issue](https://github.com/bubkoo/get-cursor-position/issues/new).