Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

izatop/edmx-reader

Repository files navigation

edmx-reader

EDMX Reader for JavaScript.

Getting Started

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.

License

MIT