smartface-plugin-validator
v1.1.3
Published
Validates Smartface plugins
Downloads
10
Readme
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)