This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Description
var parser = require("odata-parser");
var ast = parser.parse("myparam=3&$top=10&$skip=5&$select=foo")
console.log(ast)
SyntaxError: Expected "$", "$callback=", "$expand=", "$filter=", "$format=", "$inlinecount=", "$orderby=", "$select=", "$skip=" or "$top=" but "m" found.
Indeed sending non-odata parameters could be as a no-no and non conforming to the standard, but I think if you could add a "strict:true/false" parameter when parsing might work towards making it more flexible.