This package has been deprecated

Author message:

Use @natlibfi/marc-record-converters instead

marc-record-converters

1.0.0 • Public • Published

Convert MARC records between different formats Build Status Test Coverage

Convert MARC records between different formats. The following converters are available:

Usage

AMD

define(['marc-record-converters'], function(marc_record_converters) {
 
 ...
 var record = marc_record_converters.marc21slimXML.from(marcxml_str);
 console.log(marc_record_converters.marc21slimXML.to(record));
 ...
 
});

Node.js

...
var marc_record_converters = require('marc-record-converters'),
    record = marc_record_converters.marc21slimXML.from(marcxml_str);
 
console.log(marc_record_converters.marc21slimXML.to(record));
...

Development

Clone the sources and install the package using npm:

npm install

Run the following NPM script to lint, test and check coverage of the code:

 
npm run check
 

License and copyright

This project is based on marc-record-serializers. Both the original and the modified work are licensed under the terms of ISC License.

Modified work: Copyright (c) 2015, 2017 University Of Helsinki (The National Library Of Finland)
Original work: Copyright (c) 2015 Pasi Tuominen

Package Sidebar

Install

npm i marc-record-converters

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • natlibfi-arlehiko