node-getstock
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

getstock NPM version NPM monthly downloads NPM total downloads

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'

Readme

Keywords

none

Package Sidebar

Install

npm i node-getstock

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

36.1 kB

Total Files

47

Last publish

Collaborators

  • subekti13