[ 源代码: ismobilejs ]
软件包:node-ismobilejs(0.5.0-4)
JavaScript library to detect mobile devices (node)
A simple JavaScript library for detecting when a page is viewed on a mobile device. Output is placed in a JS object that you can then test for various results.
It works both in the browser as a JavaScript library or on the server side via NodeJS.
This package contains the ismobilejs module for Node.js.
Node.js is an event-based server-side JavaScript engine.