Neolithic Prancing Minotaurs

    loopback-promised

    1.3.2 • Public • Published

    loopback-promised

    loopback-promised is an HTTP client for StrongLoop Loopback using Promise.

    Universal JS

    This project is universal (in past, called "isomorphic"). Bundle into your project and it runs.

    latest API documentation Page

    Installation

    $ npm install loopback-promised

    Usage

    var LoopbackPromised = require('loopback-promised')
     
    var lbPromised = LoopbackPromised.createInstance({
      baseURL: 'http://localhost:3000'
    });
     
    var client = lbPromised.createClient('notebooks')
     
    client.create({name: 'Biology'}).then(function(notebook) {
      console.log(notebook.id)
      console.log(notebook.name)
    })

    License

    MIT

    Keywords

    Install

    npm i loopback-promised

    DownloadsWeekly Downloads

    59

    Version

    1.3.2

    License

    MIT

    Last publish

    Collaborators

    • cureapp-admin