Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

we-vision-library

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

we-vision-library

Front end library to perform HTTP calls to the we vision 2 api.

  • 1.3.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by25%
Maintainers
1
Weekly downloads
 
Created
Source

#We Vision Library

Front end library to perform HTTP calls to the we vision 2 api.

Instalation

npm i --save we-vision-library

##Usage

ES6:

  import {searchByImage, searchById, showProducts, getCategoryData} from 'we-vision-library'

ES5:

  'use strict';

  var _weVisionLibrary = require('we-vision-library');

All endPoints accept two arguments as literal Objects and return a Promise that will be resolved with the response body, or will be rejected if an unexpected error occurs:

// All endpoints have the same signature, this is just an example
searchById(body: Object, headers: Object)
	.then(body => console.log(body))
	.catch(err => console.error(err.message))

:)

FAQs

Package last updated on 11 Jul 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc