New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bhp

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bhp

Node interface for Big History Project API

  • 1.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

node-bhp

Node module to interact with the Big History Project API.

Authenticated Methods

getUnitById() and some other methods will require authentication. This requires you to login with your Big History Project credentials like so:

bhp.login("sickemail", "lamepassword", function(user){
  // user object will be exposed here, cookies are saved automatically and you're ready to go!
});

You can also manually send a cookie with the initialization like this:

var BHP = require('bhp');

var ChangeOverTimeDisciplinesThresholdsClaimTesters = new BHP("some cookie");

But cookies do expire, so you'll probably want to do the login method.

Protip: You can sign up for a dummy teacher account if you don't feel like using your student account.

MORE DOCUMENTATION COMING SOON! YAY!

Keywords

FAQs

Package last updated on 29 Apr 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