REST API client library
Latest commit 496038a Nov 18, 2016 @simov 3.0.1


npm-version travis-ci coveralls-status codecov-status

Purest is a generic REST API client library that can be used with any REST API, any HTTP client library, and any Promise implementation:

var request = require('request')
var promise = require('bluebird')
var purest = require('purest')({request, promise})
var config = require('@purest/providers')
var google = purest({provider: 'google', config})

var req = google
  .where({forUsername: 'CaseyNeistat'})

  .catch((err) => {})
  .then((result) => {})

Documentation for Purest v3.x

Documentation for Purest v2.x

Migrating from Purest v2.x to v3.x