strax/node-wolfram — pull request #14 by MarkAYoder (2014-12-02 01:42:32+00:00)
Title: Added ability to pass options to a query

I made a simple change so options can be sent.

wolfram.query({search: "words containing msdoep",
options:
"&podstate=WordsMadeWithOnlyLetters__Show+all" +
"&podstate=WordsMadeWithOnlyLetters__Disallow+repetition" +
"&includepodid=WordsMadeWithOnlyLetters"},
function(err, result) {
if(err) throw err
console.log("Size: %d", result.length);
console.log("Result: %j", result[0].subpods[0].value);
})

If a string is passed as the first parameter, then query works as before.

--Mark