open-index/open-npm huggingface dataset:
npm package: @magicdawn/eslint-config
Description: magicdawn's eslint-config
Author: magicdawn
Latest version: 1.6.2

# @magicdawn/eslint-config

> eslint-config for self use

[![npm version](https://img.shields.io/npm/v/@magicdawn/eslint-config.svg?style=flat-square)](https://www.npmjs.com/package/@magicdawn/eslint-config)
[![npm downloads](https://img.shields.io/npm/dm/@magicdawn/eslint-config.svg?style=flat-square)](https://www.npmjs.com/package/@magicdawn/eslint-config)
[![npm license](https://img.shields.io/npm/l/@magicdawn/eslint-config.svg?style=flat-square)](http://magicdawn.mit-license.org)

## Install

```sh
$ pnpm add -D @magicdawn/eslint-config
```

## Usage

### extend from [@sxzz/eslint-config](https://github.com/sxzz/eslint-config)

```ts
import { fromSxzz } from '@magicdawn/eslint-config'
export default fromSxzz()
```

### from ground to up

```ts
import { defineConfig } from 'eslint/config'
import { groundToUpConfigs } from '@magicdawn/eslint-config'

export default defineConfig([
  ...groundToUpConfigs,
  // more configs
])
```

## Extra Setup

### `.vscode/settings.json`

```json
{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit"
  }
}
```

### `package.json`

```json
{
  "lint-staged": {
    // eslint+prettier on js,json,yaml
    "*.{?(c|m)(j|t)s?(x),json,y?(a)ml}": ["eslint --fix", "prettier --write"],
    "!*.{?(c|m)(j|t)s?(x),json,y?(a)ml}": ["prettier --write --ignore-unknown"],

    // or more aggressive
    "*": ["eslint --fix --no-warn-ignored", "prettier --write --ignore-unknown"]
  }
}
```

### `.prettierignore`

```gitignore
# contents not in .gitignore
pnpm-lock.yaml
```

## License

the MIT License http://magicdawn.mit-license.org
npm package: @magicdawn/generator-tampermonkey
Description: generator-tampermonkey
Author: magicdawn
Latest version: 0.0.1

# @magicdawn/generator-tampermonkey

> generator-tampermonkey

[![Build Status](https://img.shields.io/travis/magicdawn/@magicdawn/generator-tampermonkey.svg?style=flat-square)](https://travis-ci.org/magicdawn/@magicdawn/generator-tampermonkey)
[![Coverage Status](https://img.shields.io/codecov/c/github/magicdawn/@magicdawn/generator-tampermonkey.svg?style=flat-square)](https://codecov.io/gh/magicdawn/@magicdawn/generator-tampermonkey)
[![npm version](https://img.shields.io/npm/v/@magicdawn/generator-tampermonkey.svg?style=flat-square)](https://www.npmjs.com/package/@magicdawn/generator-tampermonkey)
[![npm downloads](https://img.shields.io/npm/dm/@magicdawn/generator-tampermonkey.svg?style=flat-square)](https://www.npmjs.com/package/@magicdawn/generator-tampermonkey)
[![npm license](https://img.shields.io/npm/l/@magicdawn/generator-tampermonkey.svg?style=flat-square)](http://magicdawn.mit-license.org)

## Install

```sh
$ npm i -g @magicdawn/generator-tampermonkey
```

## Usage

```sh
# generate
$ yo @magicdawn/tampermonkey

# add husky config
$ yo magicdawn:add-config
```

## Changelog

[CHANGELOG.md](CHANGELOG.md)

## License

the MIT License http://magicdawn.mit-license.org
npm package: @magicdawn/get-cursor-position
Description: Get the cursor's current position in your terminal.
Author: bubkoo
Latest version: 1.0.5

# 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).