leops / node-wolfram

Wolfram|Alpha API wrapper for node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

How to use

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(err, result) {
  if(err) throw err
  console.log("Result: %j", result)
})

Running tests

$ WOLFRAM_APPID=your-app-id npm test

License

MIT

About

Wolfram|Alpha API wrapper for node.js

License:MIT License


Languages

Language:JavaScript 100.0%