New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

loopback-promised

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loopback-promised

Promise-styled client for LoopBack

latest
Source
npmnpm
Version
1.3.2
Version published
Maintainers
1
Created
Source

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

LoopBack

FAQs

Package last updated on 16 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts