pexels / pexels-javascript

Official Javascript library for the Pexels API.
https://www.pexels.com/api/documentation/
145 stars 29 forks source link

Pexels Javascript Library

npm version PRs Welcome

The Pexels Javascript library is a convenient wrapper around the Pexels API that can be used both on the server in Node.js and in the browser.

Installation

yarn add pexels

or

npm install pexels --save

Documentation

See the API docs here

Tests

To run the tests you need to provide your own api key. You can get one from here: https://www.pexels.com/api/new/

API_KEY=<REPLACE-WITH-YOUR-API-KEY> yarn test