eureka-plugins v1.0.74
Eureka Plugin Bridge Package
Create small projects with low coupling and high cohesion with the Eureka Plugin Bridge and start creating plugins which can connect to keep projects small and reuse pieces of code via plugins
It's perfect if you have common pieces of code that you use a lot in multiple project (like for example the nats connection
or the google stack driver configuration for logging services
).
Eureka Plugin Bridge implements the concept of dependency inyector pattern to decoupling the main core code with the common pieces of code (formerly call plugins).
Features
- Zero upfront configuration necessary to start developing and copy and paste reusable code
- Useful to isolate resusable code in Custom Plugin's
- Work perfectly with Typescript
- Auto-wired plugins
- Easily extensible to customize your project as needed
Requirements
- Node.js v8+
- Typescript (optional)
- Yarn or npm client
- Access to Npm Plugins
Installation
To get you started install the dependencies using Yarn or the npm client.
❯ npm-install eureka-plugins
❯ npm-install eureka-package-print-plugin
> #npm-install plugin-2...
Quick start
To start to use the plugin once you have installed the plugins via npm or yarn just put the hydration function to hydrate each plugin in your code for use
Node
import plugins from "eureka-plugins"
plugins.hydrate([
"eureka-package-print-plugin",
], () => {
console.log('hydration complete..')
// your code goes here
})
Creating your first plugin
TODO
Contributing
Thank you for wanting to help out with Eureka! We are very happy that you want to contribute, and have put together the contributing guide to help you get started. We want to do our best to help you make successful contributions and be part of our community.
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago