wolfram-alpha-node
v0.0.3
Published
A JavaScript library for interfacing with the Wolfram Alpha API
Downloads
127
Readme
wolfram-alpha-node
A JavaScript library for interfacing with the Wolfram Alpha API Email me at [email protected] 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"