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

ddf-validation-ng

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ddf-validation-ng

DDF validion tool

  • 0.1.2
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
0
Weekly downloads
 
Created
Source

ddf-validation-ng

how to run validation

  1. install ddf-validation-ng
    • npm install -g ddf-validation-ng
  2. run ddf-validation-ng on target path
$ validate-ddf-ng -h
validate-ddf - DDF dataset validator

Usage: validate-ddf-ng [--no-warning] [PATH] [-m|--mode ARG]
                       [-p|--generate-datapackage]
  validate DDF dataset at PATH (default to current working dir)

Available options:
  --no-warning             don't show warnings
  PATH                     The dataset path to validate
  -m,--mode ARG            configure how validator find files (filenames or
                           datapackage, default filenames)
  -p,--generate-datapackage
                           whether to generate a datapackage.json after
                           validation. (default false)
  -h,--help                Show this help text

There are 2 modes: filenames and datapackage. In filenames mode, the validator will enumerate all files in a given folder and try to find all the filenames that match ddf standard. In datapackage mode, the validator will read all files in the resources list in datapackage.json.

how to build

  1. install purescript and spago
    • npm install -g purescript
    • npm install -g spago
  2. to install dependencies
    • npm install
    • spago install
  3. run npm run build (which will run spago build)

how to create new version

  1. build the app and module bundle
    • npm run bundle-app
    • npm run bundle-module
  2. npm publish

FAQs

Package last updated on 18 Aug 2024

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