Skip to content

tonylukasavage/ti-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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