Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imcuttle/rush-papapa

The amusing locate the position of code from UI
https://github.com/imcuttle/rush-papapa

code editor open-editor react

Last synced: 16 days ago
JSON representation

The amusing locate the position of code from UI

Awesome Lists containing this project

README

        

# rush-papapa

[![NPM version](https://img.shields.io/npm/v/rush-papapa.svg?style=flat-square)](https://www.npmjs.com/package/rush-papapa)
[![NPM Downloads](https://img.shields.io/npm/dm/rush-papapa.svg?style=flat-square&maxAge=43200)](https://www.npmjs.com/package/rush-papapa)
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://prettier.io/)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)

> The amusing locate the position of code from UI

## Installation

```bash
npm install rush-papapa
# or use yarn
yarn add rush-papapa
```

## Usage

#### Set babel config

```diff
{
"plugins": [
+ "rush-papapa/babel"
...
]
}
```

#### Open Url

- `http://localhost:port/?rush-papapa=true&rush-papapa-debug=true&rush-papapa-editor=vscode`

##### query

- `rush-papapa=true`

Set `rush-papapa=true` to enable rush-papapa in page view.

- `rush-papapa-debug=true`

Set `rush-papapa-debug=true` to inject attributes in element.

- `rush-papapa-editor=your-editor`

Set the editor that rush-papapa would use it.

## Contributing

- Fork it!
- Create your new branch:
`git checkout -b feature-new` or `git checkout -b fix-which-bug`
- Start your magic work now
- Make sure npm test passes
- Commit your changes:
`git commit -am 'feat: some description (close #123)'` or `git commit -am 'fix: some description (fix #123)'`
- Push to the branch: `git push`
- Submit a pull request :)

## Authors

This library is written and maintained by imcuttle, [email protected].

## License

MIT - [imcuttle](https://github.com/imcuttle) 🐟