0.1.0 • Published 10 years ago

social-browser v0.1.0

Weekly downloads
3
License
-
Repository
github
Last release
10 years ago

social-browser

A node module providing utility methods to detect which social browser is a client using.

Installation

  npm install social-browser --save

Usage

  var socialbrowser = require('social-browser');
  var browser = socialbrowser.detect();
  if (browser.major === "facebook") {
    console.log('User is using Facebook client browser.');
  }

Tests

   npm test

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Release History

  • 0.0.1 Initial release
0.1.0

10 years ago