Nutrient Packed Morsels

    kevoree-registry-client
    TypeScript icon, indicating that this package has built-in type declarations

    3.0.1 • Public • Published

    Kevoree Registry Client

    A library to communicate with a Kevoree registry REST API

    ⚠️ this is under development, use at your own risks ⚠️

    Install

    npm install kevoree-registry-client

    or

    yarn add kevoree-registry-client

    Usage

    import * as api from 'kevoree-registry-client';
    // list namespaces
    api.namespace.all()
        .then((namespaces) => {
            namespaces.forEach(ns => console.log);
        })
        .catch(err => {
            console.error(err.message);
        });

    Bundles

    The API is built for 3 different targets:

    • es6 (nodejs v6+)
      • build/main
    • browser (es5)
      • build/browser

    Clone

    git clone git@github.com:kevoree/kevoree-js-registry-client.git
    cd kevoree-js-registry-client

    Tests

    npm install
    npm run build
    npm test

    Notes

    This API makes an extensive use of Promise and fetch which means that it is only compatible with real browsers by default as it is not shipped with any polyfill. If you want to make it work on bad browsers you'll need things like github/fetch and stefanpenner/es6-promise.

    Install

    npm i kevoree-registry-client

    DownloadsWeekly Downloads

    40

    Version

    3.0.1

    License

    LGPL-3.0

    Last publish

    Collaborators

    • leiko