Skip to content

NotNinja/node-service-loader

Repository files navigation

 .d8888b.                            d8b                  888                            888
d88P  Y88b                           Y8P                  888                            888
Y88b.                                                     888                            888
 "Y888b.    .d88b.  888d888 888  888 888  .d8888b .d88b.  888      .d88b.   8888b.   .d88888  .d88b.  888d888
    "Y88b. d8P  Y8b 888P"   888  888 888 d88P"   d8P  Y8b 888     d88""88b     "88b d88" 888 d8P  Y8b 888P"
      "888 88888888 888     Y88  88P 888 888     88888888 888     888  888 .d888888 888  888 88888888 888
Y88b  d88P Y8b.     888      Y8bd8P  888 Y88b.   Y8b.     888     Y88..88P 888  888 Y88b 888 Y8b.     888
 "Y8888P"   "Y8888  888       Y88P   888  "Y8888P "Y8888  88888888 "Y88P"  "Y888888  "Y88888  "Y8888  888

ServiceLoader is a service provider loader.

Build Coverage Dependencies Dev Dependencies License Release

Install

$ npm install --save service-loader

You'll need to have at least Node.js 4 or newer.

API

load(service[, packageName])

TODO: Document TODO: Example(s)

version

The current version of ServiceLoader.

const ServiceLoader = require('service-loader')

ServiceLoader.version
=> "0.1.0alpha"

Bugs

If you have any problems with ServiceLoader or would like to see changes currently in development you can do so here.

Contributors

If you want to contribute, you're a legend! Information on how you can do so can be found in CONTRIBUTING.md. We want your suggestions and pull requests!

A list of ServiceLoader contributors can be found in AUTHORS.md.

License

See LICENSE.md for more information on our MIT license.

© 2017 Skelp