screen-orientation 
Get the current screen orientation
Install
$ npm install --save screen-orientation
Usage
var screenOrientation = require('screen-orientation')
screenOrientation()
//=> {direction: 'landscape', version: 'primary'}
API
screenOrientation() -> object
Returns the current screen orientation (direction and version).
License
MIT Ben Drucker