wolfram-alpha-node

0.0.3 • Public • Published

wolfram-alpha-node

A JavaScript library for interfacing with the Wolfram Alpha API
Email me at gpsanant@gmail.com if you have questions.

Installation

npm i wolfram-alpha-node

Example Usage

const WolframAlphaAPI = require('wolfram-alpha-node');
const waApi = WolframAlphaAPI("your app id");
(async() => {
    try{
        console.log(await waApi.getFull('what is the parity of sine of x'))
        console.log(await waApi.getShort("who was the 16th president?"))
        console.log(await waApi.getSpoken("what is 2 plus 2"))
    }catch(e){
        console.log(e.message)
    }
})()

Test

npm test "your app id"

Readme

Keywords

Package Sidebar

Install

npm i wolfram-alpha-node

Weekly Downloads

4

Version

0.0.3

License

ISC

Unpacked Size

15.5 kB

Total Files

4

Last publish

Collaborators

  • gpsanant