UNPKG

cordova-plugin-example-isprime

Version:

Checks if a number is prime, and if not, returns the corresponding factors. Used for PhoneGap Day EU 2017 'Creating Modern PhoneGap Plugins' workshop; not intended for production use (there are better ways to find primes!)

51 lines (50 loc) 1.62 kB
{ "name": "cordova-plugin-example-isprime", "description": "Checks if a number is prime, and if not, returns the corresponding factors. Used for PhoneGap Day EU 2017 'Creating Modern PhoneGap Plugins' workshop; not intended for production use (there are better ways to find primes!)", "version": "1.0.1", "homepage": "https://github.com/kerrishotts/cordova-plugin-example-isprime", "repository": { "type": "git", "url": "https://github.com/kerrishotts/cordova-plugin-example-isprime.git" }, "bugs": { "url": "https://github.com/kerrishotts/cordova-plugin-example-isprime/issues" }, "cordova": { "id": "cordova-plugin-example-isprime", "platforms": [ "ios", "android", "windows", "browser" ] }, "keywords": [ "ecosystem:cordova", "ecosystem:phonegap", "cordova", "phonegap", "pgday", "eu", "2017", "example", "prime" ], "engines": { "cordova": ">=6.0.0" }, "author": "Kerri Shotts", "license": "MIT", "scripts": { "lint": "eslint **/*.js", "cordova-paramedic": "cordova-paramedic", "test:android": "cordova-paramedic --cleanUpAfterRun --verbose --platform android --plugin .", "test:browser": "cordova-paramedic --cleanUpAfterRun --verbose --platform browser --plugin .", "test:ios": "cordova-paramedic --cleanUpAfterRun --verbose --platform ios --plugin .", "test:windows": "cordova-paramedic --config .paramedic.windows.config.js" }, "devDependencies": { "cordova-paramedic": "git+https://github.com/apache/cordova-paramedic.git", "eslint": "^3.18.0" } }