Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

digital-bible-platform

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

digital-bible-platform

JavaScript and Node.js client for the Digital Bible Platform [Digital Bible Platform](http://digitalbibleplatform.com/)

  • 0.2.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

digital-bible-platform

JavaScript and Node.js client for the Digital Bible Platform Digital Bible Platform

The Digital Bible Platform is an online API for Bible Text, Audio, and Video. This client module for Node.js provides an easy-to-use set of functions designed to simplify the building of JavaScript applications that use the Digital Bible Platform.

Requirements

Installing the client

npm install digital-bible-platform

Client usage (callbacks)

var Client = require( "digital-bible-platform" );
var client = new Client( "your-api-key" );

client.versions( function( err, versions ) {
	console.log( versions );
} );

Proxy support

To use the client behind a proxy server, pass an options object to the module constructor that includes the proxy server. For example:

var Client = require("digital-bible-platform");
var client = new Client("your-api-client", { "proxy": "http://localproxy.com" } );

This options object is the same object used by the request module.

Running tests

To run integration tests, you'll need to set your API Key as an environment variable.

OSX / Linux

export DBP_API_KEY=your-api-key

Windows

setx DBP_API_KEY "your-api-key"

Note: On Windows, you will need to reopen your command prompt after setting environment variables.

Open Terminal or command prompt, change to the digital-bible-platform client directory, and enter:

npm test

License

The Digital Bible Platorm Node.js client is licensed under MIT. Refer to license.txt for more information.

FAQs

Package last updated on 13 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc