npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

faster-titanium

v1.7.5

Published

Accelerate Titanium development

Downloads

29

Readme

FasterTitanium: Accelerate Titanium development

Circle CI npm version

ti build -p ios --faster

Live a happier Titanium life!

demo

Feature

  • immediate reload on file changed
  • both Alloy|non-Alloy support
  • stable, robust connection
  • no trouble with require
  • native module support
  • web UI support
  • readable, well-documented code written in ES6+ JavaScript

Installation

$ npm install -g faster-titanium

That's all.

Note that your Node.js has to be greater than v0.12.

Usage

Run ti build with --faster option.

ti build -p ios --faster

That's all.

debug mode

ti build -p ios --faster --ft-debug

Debug mode shows more logs in Titanium. You can switch this option later via web UI.

If you want to show server debug log, try

DEBUG=faster-titanium:* ti build -p ios --faster

Change port number of the web server

ti build -p ios --faster --ft-port 3000

Web UI

web-ui

Access to the URL: http://localhost:4157

Connection state

It shows the state of current connection with Titanium app.

Reload button

Reload App button can reload Titanium app

Change loading style

Clicking Value column of loading style enable you to select loading style.

  • auto-reload: App will reload everytime a file changes.
  • auto-reflect: Everytime a file changes, app clear the module cache and try to fetch new js file in require().
  • manual: Do nothing.

Default value is auto-reload.

logging options

  • debug log: show/hide FasterTitanium debug log
  • server log: show/hide Titanium log to server console
  • titanium log: show/hide Titanium log to Titanium console

CLI

faster-ti command is available.

Check --faster flag is installed correctly

faster-ti installed

(Re-)install --faster flag

faster-ti install

Restart the server

If ti process is killed, FasterTitanium server is also killed. You can restart FasterTitanium server by the following command.

faster-ti restart -f <port number1> -n <port number2> -p <platform name> -t <acceess token> [project dir]

Too many options? No problem.

When you terminate the ti process, the exact restart command will be shown in stdout at the end of process. restart-cli

Just copy and paste the line and you can restart the server!

restart-cli-result

Uninstall --faster flag

faster-ti uninstall

Uninstalling FasterTitanium itself is

npm uninstall -g faster-titanium

LICENSE

MIT