odata-v4-parser 1.0.1
Install from the command line:
Learn more about npm packages
$ npm install @modusign/odata-v4-parser@1.0.1
Install via package.json:
"@modusign/odata-v4-parser": "1.0.1"
About this version
OData v4 parser based on OASIS Standard OData v4 ABNF grammar
Simply just use $ npm run build
Run TDD tests using $ npm run tdd
Parser functions:
var parser = require('odata-v4-parser');
parser.filter("Title eq 'Article1'");
Low-level functional:
require('odata-v4-parser/lib/expressions').boolCommonExpr(new Uint8Array(new Buffer("contains(@word,Title)")), 0);
require('odata-v4-parser/lib/json').arrayOrObject(new Uint8Array(new Buffer('{"a":1}')), 0);
require('odata-v4-parser/lib/expressions').commonExpr(new Uint8Array(new Buffer('Items/all(d:d/Quantity gt 100)')), 0);
- more unit testing
- use metadata for correct OData identifier type detection (complex types, navigation properties, etc.)
Details
- odata-v4-parser
- modusign
- almost 3 years ago
- MIT
- 22 dependencies
Assets
- odata-v4-parser-1.0.1-npm.tgz
Download activity
- Total downloads 28,055
- Last 30 days 102
- Last week 6
- Today 0