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

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.

Awesome Lists containing this project

README

          











Macroable




ES6 class to easily extend the class prototype.





Installation ·
Docs ·
Usage







Latest Version
Monthly downloads



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)