Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/imcuttle/rush-papapa
- Owner: imcuttle
- License: mit
- Created: 2018-12-15T02:55:34.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T08:04:22.000Z (about 2 years ago)
- Last Synced: 2024-11-30T14:16:11.129Z (about 1 month ago)
- Topics: code, editor, open-editor, react
- Language: JavaScript
- Homepage:
- Size: 860 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- License: License
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) 🐟