pluginbot | Plugin framework for creating extensible applications | Plugin library

 by   service-bot JavaScript Version: Current License: MIT

kandi X-RAY | pluginbot Summary

kandi X-RAY | pluginbot Summary

pluginbot is a JavaScript library typically used in Plugin applications. pluginbot has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can install using 'npm i pluginbot' or download it from GitHub, npm.

At a high level - pluginbot is an app framework that consists of plugins which can provide/consume services. To define a plugin you define a function which provide services and a function that can consume services, consumption happens in the form of a redux-saga so your plugin can wait around for your desired service to be provided which elmiminates dependency chains entirely since your plugin will pause execution until the service it needs becomes available. This architecture allows for a highly extensible application because a plugin that adds functionality would just provide services other plugins consume (or consume services other plugins provide) - for example a plugin could provide new routes to be consumed by a router plugin or a plugin could provide UI components such as navigation-menus which would be rendered by a navigation-menu consumer. In order for plugins to run, they have to be declared in a configuration which will contain at a minimum the path of the plugin. Here you would define environment specific data. Configuration can either be json or a js file that exports an object/Promise that resolves to an object. The plugins array represents the enabled plugins in a pluginbot instance. A plugin consists of a module which exports a generator function, each plugin takes the form of a redux-saga meaning they can wait for specific events to happens or services to be provided by other plugins before running their own code. Now if I wanted to create a plugin which adds a new route to my app all I need to do is provide an expressRoute service. In order for a pluginbot plugin to be considered valid it requires a pluginbot section to be defined in the package.json. For a basic definition you just need to define where the entry point to your plugin is and the services the plugin consumes (if any).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pluginbot has a low active ecosystem.
              It has 7 star(s) with 7 fork(s). There are 3 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 15 open issues and 5 have been closed. On average issues are closed in 2 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of pluginbot is current.

            kandi-Quality Quality

              pluginbot has no bugs reported.

            kandi-Security Security

              pluginbot has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              pluginbot is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              pluginbot releases are not available. You will need to build from source code and install.
              Deployable package is available in npm.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pluginbot
            Get all kandi verified functions for this library.

            pluginbot Key Features

            No Key Features are available at this moment for pluginbot.

            pluginbot Examples and Code Snippets

            No Code Snippets are available at this moment for pluginbot.

            Community Discussions

            QUESTION

            How to define AM_CONDITIONAL and AC_DEFINE based on PKG_CHECK_MODULES result?
            Asked 2017-Feb-19 at 15:01

            I am trying to write a configure.ac file to do these tasks:

            1. The configure script should accept a --with-libuv parameter.

            2. A variable with_libuv should be set to either yes, no or check (with check being the default value when nothing was passed on the command line).

            3. When with_libuv == "yes" a mandatory PKG_CHECK_MODULES check for libuv >= 1.9.0 should be done and HAVE_LIBUV = 1 should be set on success (On error configure should abort).

            4. When with_libuv == "no" nothing should be checked,

            5. When with_libuv == "false" an optional PKG_CHECK_MODULES check (for the same library as in 3.) should be done and HAVE_LIBUV should be set to either 0 or 1 accordingly.

            6. If with_libuv != "no" && HAVE_LIBUV == 1 AC_DEFINE should set -DUSE_LIBUV and AM_CONDITIONAL should set USE_LIBUV as a conditional for automake.

            7. If not with_libuv != "no" && HAVE_LIBUV == 1 the preprocessor directive should not be set and the AM_CONDITIONAL should be set to 0.

            I have figured out how to do steps 1-5, but I am struggeling with 6 and 7.

            Here is my current attempt:

            ...

            ANSWER

            Answered 2017-Feb-18 at 16:00

            I think you should use = instead of -eq. The -eq is a relation between integers - the x1 isn't integer!

            Source https://stackoverflow.com/questions/42315320

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pluginbot

            You can install using 'npm i pluginbot' or download it from GitHub, npm.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/service-bot/pluginbot.git

          • CLI

            gh repo clone service-bot/pluginbot

          • sshUrl

            git@github.com:service-bot/pluginbot.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link