Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 782 Bytes

readme.md

File metadata and controls

28 lines (16 loc) · 782 Bytes

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