All Projects → bestiejs → Platform.js

bestiejs / Platform.js

Licence: mit
A platform detection library.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to Platform.js

Parser Javascript
Browser sniffing gone too far — A useragent parser library for JavaScript
Stars: ✭ 66 (-97.75%)
Mutual labels:  detection, user-agent
Agent
👮 A PHP desktop/mobile user agent parser with support for Laravel, based on Mobiledetect
Stars: ✭ 3,891 (+32.48%)
Mutual labels:  platform, user-agent
whoami.js
A simple and lightweight browser detection and logger library
Stars: ✭ 16 (-99.46%)
Mutual labels:  user-agent, detection
fire-detection
Fire detection using OpenCV
Stars: ✭ 40 (-98.64%)
Mutual labels:  detection
brfv4 win examples
Windows C++ examples utilizing OpenCV for camera access and drawing the face tracking results.
Stars: ✭ 13 (-99.56%)
Mutual labels:  detection
MinutiaeNet
Code and models for paper "Robust Minutiae Extractor: Integrating Deep Networks and Fingerprint Domain Knowledge" at International Conference on Biometrics (ICB) 2018
Stars: ✭ 93 (-96.83%)
Mutual labels:  detection
Detectron.pytorch
A pytorch implementation of Detectron. Both training from scratch and inferring directly from pretrained Detectron weights are available.
Stars: ✭ 2,805 (-4.49%)
Mutual labels:  detection
LinkedDataHub
The Knowledge Graph notebook. Apache license.
Stars: ✭ 150 (-94.89%)
Mutual labels:  platform
SIGMA-Resources
Resources To Learn And Understand SIGMA Rules
Stars: ✭ 61 (-97.92%)
Mutual labels:  detection
thermography
Automatic detection of defected solar panel modules
Stars: ✭ 59 (-97.99%)
Mutual labels:  detection
Server
Server written in PHP, provides a Javascript API for in the browser
Stars: ✭ 34 (-98.84%)
Mutual labels:  user-agent
react-native-gesture-detector
Create and detect custom, complex gestures in React Native. 🍭
Stars: ✭ 75 (-97.45%)
Mutual labels:  detection
nano
API Documentation for Nano.to
Stars: ✭ 65 (-97.79%)
Mutual labels:  platform
backend
Backend powering the M3O platform
Stars: ✭ 64 (-97.82%)
Mutual labels:  platform
Sipmask
SipMask: Spatial Information Preservation for Fast Image and Video Instance Segmentation (ECCV2020)
Stars: ✭ 255 (-91.32%)
Mutual labels:  detection
covid-mask-detector
Detect whether a person is wearing a mask or not
Stars: ✭ 102 (-96.53%)
Mutual labels:  detection
ETWProcessMon2
ETWProcessMon2 is for Monitoring Process/Thread/Memory/Imageloads/TCPIP via ETW + Detection for Remote-Thread-Injection & Payload Detection by VirtualMemAlloc Events (in-memory) etc.
Stars: ✭ 55 (-98.13%)
Mutual labels:  detection
magic-bytes
A library for detecting file types.
Stars: ✭ 20 (-99.32%)
Mutual labels:  detection
Visitor-Parser-JS
Visitor Parser JS
Stars: ✭ 20 (-99.32%)
Mutual labels:  user-agent
Git Gateway
A Gateway to Git APIs
Stars: ✭ 265 (-90.98%)
Mutual labels:  platform

Platform.js v1.3.6

A platform detection library that works on nearly all JavaScript platforms.

Disclaimer

Platform.js is for informational purposes only & not intended as a substitution for feature detection/inference checks.

Documentation

Installation

In a browser:

<script src="platform.js"></script>

In an AMD loader:

require(['platform'], function(platform) {/*…*/});

Using npm:

$ npm i --save platform

In Node.js:

var platform = require('platform');

Usage example:

// on IE10 x86 platform preview running in IE7 compatibility mode on Windows 7 64 bit edition
platform.name; // 'IE'
platform.version; // '10.0'
platform.layout; // 'Trident'
platform.os; // 'Windows Server 2008 R2 / 7 x64'
platform.description; // 'IE 10.0 x86 (platform preview; running in IE 7 mode) on Windows Server 2008 R2 / 7 x64'

// or on an iPad
platform.name; // 'Safari'
platform.version; // '5.1'
platform.product; // 'iPad'
platform.manufacturer; // 'Apple'
platform.layout; // 'WebKit'
platform.os; // 'iOS 5.0'
platform.description; // 'Safari 5.1 on Apple iPad (iOS 5.0)'

// or parsing a given UA string
var info = platform.parse('Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7.2; en; rv:2.0) Gecko/20100101 Firefox/4.0 Opera 11.52');
info.name; // 'Opera'
info.version; // '11.52'
info.layout; // 'Presto'
info.os; // 'Mac OS X 10.7.2'
info.description; // 'Opera 11.52 (identifying as Firefox 4.0) on Mac OS X 10.7.2'

Support

Tested in Chrome 82-83, Firefox 77-78, IE 11, Edge 82-83, Safari 12-13, Node.js 4-14, & PhantomJS 2.1.1.

BestieJS

Platform.js is part of the BestieJS “Best in Class” module collection. This means we promote solid browser/environment support, ES5+ precedents, unit testing, & plenty of documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].