smartface-plugin-validator

1.1.3 • Public • Published

Smartface Plugin Validator

This module validates your smartface plugins.

Installation

npm install --save smartface-plugin-validator

Usage & Example

 const smartfacePluginValidator = require("smartface-plugin-validator");
 
 
smartfacePluginValidator("./icloudios.zip","ios").then(function(res){
    if(res.error){// is validated ?
        console.log("\t - " + res.allErrors.join("\n\t - "));
    }else{
        // this plugin.zip is valid.
    }
},function(err){
    console.error(err);
});
    

Test

You can run npm test for testing

  smartfacePluginValidator, this module validates your smartface plugins 
     iOS Plugins
      ✓ should return object that has error as false.
     Android Plugins
      ✓ should return object that has error as false.


  2 passing (63ms)

/smartface-plugin-validator/

    Package Sidebar

    Install

    npm i smartface-plugin-validator

    Weekly Downloads

    5

    Version

    1.1.3

    License

    ISC

    Last publish

    Collaborators

    • alnyli07
    • smf