Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

barnard59-pipeline-validation

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barnard59-pipeline-validation

![CI status](https://github.com/zazuko/barnard59-pipeline-validation/workflows/Node.js%20CI/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/zazuko/barnard59-pipeline-validation/badge.svg?branch=main)](https://coveralls.io/github/zazuko/ba

  • 0.2.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
decreased by-3.13%
Maintainers
1
Weekly downloads
 
Created
Source

barnard59-pipeline-validation

CI status Coverage Status npm version

Pipeline validation

Pipeline validation enables you to verify the consistency of your RDF pipelines. It ensures that all pipeline steps are consistent, and can be executed one after another. It is a programmatic reflection of principles behind barnard59

This script will help you understand what is wrong with your pipeline. Documentation behind barnard59 will guide you how to build a valid one.

Usage

Install globally: npm install -g barnard59-pipeline-validation

CLI help: barnard59-validate -h

Validating a pipeline definition: barnard59-validate ./sample-pipelines/fetch-json-to-ntriples.ttl

Available Options

  • Validating a single pipeline by its IRI:
    barnard59-validate your-pipeline-file -p your-pipeline-iri
    For an example, try:
    barnard59-validate ./sample-pipelines/fetch-json-to-ntriples.json -p http://example.org/pipeline/utc
  • Exclude warnings from output:
    barnard59-validate your-pipeline-file --quiet
    For an example, try:
    barnard59-validate ./sample-pipelines/fetch-json-to-ntriples.json -q
  • Show successful validation checks:
    barnard59-validate your-pipeline-file --verbose
    For an example, try:
    barnard59-validate ./sample-pipelines/fetch-json-to-ntriples.json -v
  • Produce an error exit status on warnings (you might want the warnings to show in CI without failing the CI or vice versa):
    barnard59-validate your-pipeline-file --strict
    For an example, try:
    barnard59-validate ./sample-pipelines/fetch-json-to-ntriples.json -s
  • To return error messages in JSON, don't output to a TTY:
    barnard59-validate your-pipeline-file | jq

Rules

A JSON summary of all rules is written to ./rules.json whenever the tests are run, it can also be generated by running npm run generate-rules.

FAQs

Package last updated on 01 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc