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

1.0.4 • Public • Published

TruePixabay

Typescript module to interact with the Pixabay API.

Example usage:

import { Client } from 'truepixabay'

const client = new Client({ token: 'YOUR-SUPER-SECRET-TOKEN' })

client.getImages({ q: 'fox' })
	.then(console.log)
	.catch(console.error)
const { Client } = require('truepixabay');

const client = new Client({ token: 'YOUR-SUPER-SECRET-TOKEN' })

client.getImages({ q: 'fox' })
	.then(console.log)
	.catch(console.error)

Readme

Keywords

none

Package Sidebar

Install

npm i truepixabay

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

30.1 kB

Total Files

17

Last publish

Collaborators

  • yukine