New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

timodules

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timodules

titanium sdk modules tools

latest
Source
npmnpm
Version
0.1.3
Version published
Weekly downloads
32
966.67%
Maintainers
1
Weekly downloads
 
Created
Source

timodules

Handy Titanium SDK module commands

Install

sudo npm install -g timodules

CLI Commamnds

timodules

Returns the current modules in JSON format:

$ timodules
[{"name":"yy.androidalaw","platform":"android","version":"0.1"}]

timodules set

Can be used to set the modules used in the application:

  • space to select/deselect
  • return to commit changes
  • ctrl-c to exit/abort

NOTE requires the titnanium cli to be installed (sudo npm install -g titanium)

screenshot

Public API

getCurrent

getCurrent(path, callback);

  • path to begin search for tiapp.xml
  • callback returns to arguments
    • err - error message
    • res - object with: current - list of modules used in the current app ( {name, platform, version} ); path - path where tiapp.xml was found

list

list(path, callback);

  • path to begin search for tiapp.xml
  • callback returns to arguments
    • err - error message
    • res - object with: current - list of modules used in the current app ( {name, platform, version} ); path - path where tiapp.xml was found modules - list of available modules ( {name, platform, version, scope} );

FAQs

Package last updated on 06 Dec 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts