Newton's Principia Mathematica

    qipp-services-relay

    1.0.0 • Public • Published

    qipp-services-relay Build Status npm version

    General

    The aim of this relay service is to provide a way to interact with one or more services that are tightly coupled with the originate one in order to avoid circular dependencies i.e. use it as a man-in-the-middle service.

    Install

    npm i qipp-services-relay

    Angular usage

    The exec() method accepts one or more arguments. Each argument must be an array and the function must always have a service argument:

    relay.exec([
        'awesomeProvider',
        function (service) {
            service.method()
        }
    ], [
        'anotherAwesomeProvider',
        function (service) {
            service.method()
        }
    ])

    Tools

    Linting with StandardJS

    Please refer to the JavaScript Standard Style for general rules.

    npm run lint

    Unit testing with Karma

    npm test

    Requirements

    Angular

    Licence

    Released under the MIT license by qipp.

    Install

    npm i qipp-services-relay

    DownloadsWeekly Downloads

    4

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • qipp