https://github.com/supercharge/macroable
ES6 class to easily extend the class prototype in a declarative way.
https://github.com/supercharge/macroable
Last synced: 12 months ago
JSON representation
ES6 class to easily extend the class prototype in a declarative way.
- Host: GitHub
- URL: https://github.com/supercharge/macroable
- Owner: supercharge
- License: mit
- Created: 2022-05-28T04:04:11.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-19T08:54:27.000Z (almost 4 years ago)
- Last Synced: 2025-02-22T08:39:30.384Z (over 1 year ago)
- Language: JavaScript
- Size: 13.7 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Macroable
ES6 class to easily extend the class prototype.
Installation ·
Docs ·
Usage
Follow @marcuspoehls and @superchargejs for updates!
---
## Introduction
The `@supercharge/macroable` package provides an ES6 class to easily extend the class prototype. This allows you to add functions to an ES6 class in JavaScript or TypeScript from third party packages.
## Installation
```
npm i @supercharge/macroable
```
## Docs
- 📖 [Documentation](https://superchargejs.com/docs/macroable)
## Contributing
Do you miss a function? We very much appreciate your contribution! Please send in a pull request 😊
1. Create a fork
2. Create your feature branch: `git checkout -b my-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request 🚀
## License
MIT © [Supercharge](https://superchargejs.com)
---
> [superchargejs.com](https://superchargejs.com) ·
> GitHub [@supercharge](https://github.com/supercharge) ·
> Twitter [@superchargejs](https://twitter.com/superchargejs)