How to use the bids-validator/package.json.version function in bids-validator

To help you get started, we’ve selected a few bids-validator examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bids-standard / bids-validator / bids-validator-web / components / App.jsx View on Github external
import React from 'react'
import bowser from 'bowser'
import Issues from '../components/Issues'
import BrowserWarning from './BrowserWarning'
import Validate from '../components/Validate'
import validate from 'bids-validator'
import validatorPackageJson from 'bids-validator/package.json'
const version = validatorPackageJson.version

// component setup -----------------------------------------------------------

const initState = () => ({
  dirName: '',
  list: {},
  nameError: null,
  projectId: '',
  refs: {},
  errors: [],
  warnings: [],
  summary: null,
  status: '',
  uploadStatus: '',
  options: {
    ignoreWarnings: false,

bids-validator

MIT
Latest version published 29 days ago

Package Health Score

79 / 100
Full package analysis

Similar packages