Skip to content
node.js os module 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
titanium-os.js

README.md

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 os = require("titanium-os");
console.log(os.platform() + ' is the same as ' + Ti.Platform.name);
You can’t perform that action at this time.