EDMX Reader for JavaScript.
Install the package:
npm i -S edmx-reader
Let's translate an EDMX XML document to a schema object:
const convert = require('edmx-reader').convert;
convert(
createReadStream('/path/to/edmx/document.xml')
).then(schema => {
console.log('Schema', schema);
}).catch(console.log);
See a schema structure in reader.spec.ts
.
MIT