This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

firefox-app-validator-icons

2.0.1 • Public • Published

Firefox App Validator: Icons

Build Status

Current image support

png, jpg/jpeg

Usage

This is just to validate file-specific rules for the icons provided in a Firefox OS manifest.

var fs = require('fs');
var ManifestIcon = require('firefox-app-validator-icons');

var icons = new ManifestIcon();

var results = icons(fs.readFileSync('/path/to/icon.png');
console.log(results);

If there are any errors, you can access them in results.errors and warnings in results.warnings

Tests

# To run tests once
npm test

# To run tests continually on file change
npm run-script testwatch

License

Mozilla Public License Version 2.0

Package Sidebar

Install

npm i firefox-app-validator-icons

Weekly Downloads

0

Version

2.0.1

License

MPL-2.0

Last publish

Collaborators

  • npm