Skip to content

tonylukasavage/ti-console

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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');

About

node.js-style console for Titanium

Resources

License

Stars

Watchers

Forks

Packages

No packages published