https://github.com/c8r/get-jsx-props
Get props from a jsx string
https://github.com/c8r/get-jsx-props
Last synced: about 1 year ago
JSON representation
Get props from a jsx string
- Host: GitHub
- URL: https://github.com/c8r/get-jsx-props
- Owner: c8r
- License: mit
- Created: 2017-11-21T20:52:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-09T21:56:32.000Z (over 8 years ago)
- Last Synced: 2025-04-12T00:55:04.611Z (about 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# get-jsx-props
Get props used in a jsx string.
## Installation
```bash
npm install --save @compositor/get-jsx-props
```
## Usage
```javascript
var getJsxProps = require('@compositor/get-jsx-props')
getJsxProps(jsx)
```
## License
MIT
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
## Related
* https://github.com/c8r/babel-plugin-get-jsx-props
[Made by Compositor](https://compositor.io)
|
[MIT License](LICENSE.md)