Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including firefox-app-validator-central with all npm packages installed. Try it out:

var firefoxAppValidatorCentral = require("firefox-app-validator-central")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

firefox-app-validator-central v3.0.1

Main Firefox app validator to verify manifest and icon rules

Firefox App Validator (central module)

This node module runs both the manifest and icon validation rules.

Configuration setup

If you are using a custom 'fs' or 'url' module instead of the node one, then you can override the paths to these modules in config.json using config.json-dist as the sample.


var validator = require('firefox-app-validator-central');

validator('/path/to/manifest.webapp', { url: false, packaged: false }, function (err, results) {

// First argument is a path to the manifest file, second argument is where you can override node's URL module and/or set a packaged app


Mozilla Public License Version 2.0

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free