titanium-os
v0.1.1
Published
node.js-style os for Titanium
Downloads
17
Readme
titanium-os
node.js-style os
for Titanium. It can serve as a drop-in replacement for node.js os
for use with browserify.
install
$ npm install titanium-os
$ cp node_modules/titanium-os/titanium-os.js /path/to/project/Resources/
example
var console = require("titanium-os");
console.log("Hello from %s version %s!", Ti.Platform.name, Ti.Platform.version);