eadparser

1.0.29-beta • Public • Published

Takes an EAD XML file as an argument and produces a JSON object.

npm install

const eadParser = require('eadParser')

eadParser.parseXml(<XML FILE URL>).then((result) => { console.log(result });

Produces a highly-opinionated JSON object representing the EAD. The JSON object looks like this:

{
_id: '',
summaryInformation: {},
biographicalHistoricalNote: {},
scopeAndContent: {},
arrangementOfMaterials: {},
administrativeInformation: {},
relatedMaterials: {},
controlledAccessHeadings: {},
generalNote: {},
physicalCharacteristics: {},
collectionInventory: {},
atFindingAid: '';
modifiedDate = '';
}

Package Sidebar

Install

npm i eadparser

Weekly Downloads

0

Version

1.0.29-beta

License

ISC

Unpacked Size

11.2 MB

Total Files

9

Last publish

Collaborators

  • jpmichel
  • beznus
  • schelby.1
  • kolimba.1