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

grunt-jassi

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-jassi

Validate JSON documents with Jassi.

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

grunt-jassi

Validate JSON documents with Jassi.

Getting Started

Install this grunt plugin next to your project's Gruntfile.js with this command:

npm install grunt-jassi

Then add this line to the Gruntfile.js file:

grunt.loadNpmTasks('grunt-jassi');

Jassi task

Run this task with the grunt jassi command.

This task is a multi task so any targets, files and options should be specified according to the multi task documentation.

Options

schema

Type: String Default: empty string

Specifies the path to a file containing the JSON schema needed to validate the data against.

Usage example

In this example, running grunt jassi will validate the src/data.json document against the src/schema.json schema.

// Project configuration.
grunt.initConfig({
  jassi: {
  	options: {
  		schema: 'src/schema.json'
  	}
    src: 'src/data.json'
  }
});

Keywords

FAQs

Package last updated on 15 Dec 2012

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