node-getstock
v1.0.2
Published
Bring image stock for free from several websites (unsplash, pexels, pixabay) to you.
Downloads
2
Readme
getstock
Bring image stock for free from several websites (unsplash, pexels, pixabay) to you.
Install
$ npm install node-getstock
$ yarn add node-getstock
Example
import { Search } from 'node-getstock';
Search
.getData(keyword, options)
.then(data => {
console.log(data);
});
Parameters
keyword string
options
- options.page 1 number
- options.perPage 20 number
- options.type 'pexels' 'pexels'|'pixabay'|'unsplash'