A TypeScript module for the Open Archives Initiative Protocol for Metadata Harvesting (OAI-PMH 2.0). Use this module if you want to harvest metadata from OAI-PMH providers, e.g., arxiv.
npm install oai-pmh
const oaiPmh = new OaiPmh(
"http://bibsys-network.alma.exlibrisgroup.com/view/oai/47BIBSYS_NETWORK/request" as unknown as URL,
);
const options = {
metadataPrefix: "marc21",
set: "oai_komplett",
from: new Date("2020-01-01"),
until: new Date("2020-01-03"),
};
const res = [];
for await (const identifier of oaiPmh.listIdentifiers(options)) {
res.push(identifier);
}
For details see the documentation
to be done