This package has been deprecated

Author message:

Use @natlibfi/marc-record-validators-melinda instead

marc-record-validators-melinda

1.0.1 • Public • Published

Melinda-related validators for marc-record-validate NPM Version Build Status Test Coverage

This project contains Melinda-related validators for marc-record-validate. Melinda is a union catalogue of Finnish libraries maintained by The National Library of Finland.

Usage

The project's main module is a marc-record-validate bundle that contains all the validators. See lib/validators for invidual modules.

Node.js

var validate = require('marc-record-validators-melinda')({
  fix: true
}),
results = validate(record);

AMD

define(['marc-record-validators-melinda'], function(validateFactory) {
 
  var validate = validateFactory({
    fix: true
  }),
  results = validate(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

Copyright (c) 2014-2017 University Of Helsinki (The National Library Of Finland)

This project's source code is licensed under the terms of GNU Affero General Public License Version 3 or any later version.

Package Sidebar

Install

npm i marc-record-validators-melinda

Weekly Downloads

2

Version

1.0.1

License

AGPL-3.0+

Last publish

Collaborators