1.0.4 • Published 4 years ago

@google/dscc-validation v1.0.4

Weekly downloads
105
License
Apache-2.0
Repository
github
Last release
4 years ago

dscc-scripts

Scripts to validate files for Data Studio Community Visualizations. The project is primarily used by dscc-scripts.

Usage

To use these scripts, add @google/dscc-validation to your package.json.

npm install -D @google/dscc-validation

or

yarn add -D @google/dscc-validation

This will make dscc-validation available to your npm scripts.

Sample usage: (Typescript)

import * as validate from '@google/dscc-validation';

// to validate a manifest JSON
validate.validateManifest(JSON.parse(manifestString));

// to validate a config
validate.validateConfig(configString);