node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



JSON Schema for validating Chrome extension manifest.json

This module provides a JSON Schema (v4) that describes Chrome extension manifest.json files. To validate a JSON file against the schema, you will need to use a JSON Schema validator with v4 support.

Example using the TV4 validator via the grunt-tv4 plugin to validate a "manifest.json" file:

module.exports = (grunt) ->
        src: "manifest.json"
          root: require('chrome-extension-manifest-schema')
  grunt.loadNpmTasks "grunt-tv4"
  grunt.registerTask 'default''tv4'