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

stockphotopicker

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stockphotopicker

A plain javascript widget that lets you pick photos from different stock sources

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

Stock Photo Picker

A plain-javascript Giphy and Unsplash photo picker.

Interface

How to use

var handler = new StockPhotoPicker({
  unsplash: {
    token: 'UNSPLASH_APPLICATION_ID'
  },
  giphy: {
    token: 'GIPHY_TOKEN'
  }
});

document.getElementById('unsplashButton').addEventListener('click', function (e) {
  handler.open({
    provider: 'unsplash'
  });
  e.preventDefault();
});

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Keywords

stock

FAQs

Package last updated on 10 Jan 2019

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