npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

jskos-validate

0.2.1 • Public • Published

JSKOS Validation

Build Status GitHub package version NPM package name standard-readme compliant

Validation for JSKOS data.

This repository contains tools for validating JSKOS data.

Table of Contents

Install

git clone --recursive https://github.com/gbv/jskos-validate.git
cd jskos-validate
npm i jskos-validate

Usage

This module provides validation methods for each JSKOS object type based on JSON Schemas.

const validate = require("jskos-validate")
 
let concept = { ... }
validate.concept(concept) // returns true or false
 
let mapping = { ... }
validate.mapping(mapping) // returns true or false
 
// ...

version

Returns the version of the JSKOS specification that's used for validation.

jskos.version // 0.4.4

Test

npm test

Maintainers

Publish

To publish a new version on npm after committing your changes, follow these steps:

npm version patch # or minor, or major 
git push --tags origin master

Travis will automatically deploy the new version based on the tag to npm.

Contribute

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2019 Verbundzentrale des GBV (VZG)

Keywords

none

install

npm i jskos-validate

Downloadsweekly downloads

10

version

0.2.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability