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: 12 days ago
JSON representation
The amusing locate the position of code from UI
- Host: GitHub
- URL: https://github.com/imcuttle/rush-papapa
- Owner: imcuttle
- License: mit
- Created: 2018-12-15T02:55:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T08:04:22.000Z (about 3 years ago)
- Last Synced: 2025-08-16T18:32:35.854Z (6 months ago)
- Topics: code, editor, open-editor, react
- Language: JavaScript
- Homepage:
- Size: 860 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
# rush-papapa
[](https://www.npmjs.com/package/rush-papapa)
[](https://www.npmjs.com/package/rush-papapa)
[](https://prettier.io/)
[](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, moyuyc95@gmail.com.
## License
MIT - [imcuttle](https://github.com/imcuttle) 🐟