fhapptype

1.2.0 • Public • Published

FeedHenry App type detector

Globs for certain files to determine (as best it can) what type of app is in a directory. For details of files it checks, see the source.

Usage

fhapptype .

Sample output:

{
  "globs": {
    "hasPackageJsonLocation": [
      "/Users/dmartin/templates/welcome-app/package.json"
    ],
    "hasWWWIndexLocation": [
      "/Users/dmartin/templates/welcome-app/www/index.html"
    ],
    "hasJSSDKLocation": [
      "/Users/dmartin/templates/welcome-app/www/js/libs/feedhenry/feedhenry.js"
    ]
  },
  "flags": {
    "hasApplicationJS": false,
    "hasPackageJson": true,
    "hasPublicIndex": false,
    "hasWWWIndex": true,
    "hasCordovaConfigJson": false,
    "hasCordovaConfigXml": false,
    "hasAndroidManifest": false,
    "hasTiAppXml": false,
    "hasPlist": false,
    "hasJSSDK": true,
    "hasSLN": false,
    "hasCSProj": false,
    "hasXamarinAndroidSDK": false,
    "hasMainPage": false
  },
  "weights": {
    "cloud_nodejs": -4,
    "webapp_advanced": -4,
    "client_hybrid": 7,
    "webapp_basic": 7,
    "client_native_android": -10,
    "client_appcelerator": -10,
    "client_native_windowsphone8": -12,
    "client_xamarin": -12
  },
  "detected": [
    "client_hybrid",
    "webapp_basic"
  ]
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.2.01latest

Version History

VersionDownloads (Last 7 Days)Published
1.2.01
1.1.00
1.0.00

Package Sidebar

Install

npm i fhapptype

Weekly Downloads

1

Version

1.2.0

License

MIT

Last publish

Collaborators

  • david-martin