wolfram

Wolfram Alpha API

Wolfram - a Wolfram|Alpha API wrapper for Node.js

Wolfram is a simple Wolfram|Alpha API wrapper for Node.js with support for both plaintext and image results.

Register for an application ID in the Wolfram|Alpha developer website.

Install the module with npm: $ npm install wolfram

Example usage:

var wolfram = require('wolfram').createClient("[CENSORED]")
 
wolfram.query("integrate 2x", function(errresult) {
  if(err) throw err
  console.log("Result: %j", result)
})

Navigate to the project folder and run npm install to install the project's dependencies.

Run the following command, substituting your-app-id with your Wolfram|Alpha application ID.

$ WOLFRAM_APPID=your-app-id npm test

MIT