Skip to content
node.js-style console for Titanium
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
test
.gitignore
.jshintrc
.npmignore
.travis.yml
Gruntfile.js
LICENSE
README.md
package.json
ti-console.js

README.md

ti-console

node.js-style console for Titanium. It can serve as a drop-in replacement for node.js console for use with browserify.

This is a port of Raynos's console-browserify.

install

$ npm install ti-console
$ cp node_modules/ti-console/ti-console.js /path/to/project/Resources/

example

var console = require("ti-console");
console.log("Hello from %s version %s!", Ti.Platform.name, Ti.Platform.version);

You can also override the global console built into Titanium by overwriting it with this module in the app.js file.

console = require('ti-console');
You can’t perform that action at this time.