1.0.3 • Published 6 years ago

device-info v1.0.3

Weekly downloads
6
License
MIT
Repository
github
Last release
6 years ago

Torna al documento precedente/Back

device-info

Installazione/Installation

Aprire un terminale o un prompt dei comandi nella cartella in cui è stato clonato il repository e digitare i comandi seguenti:

Open a terminal or command prompt in the directory in which you cloned this repository and type in these commands:

npm install
npm run lerna -- add device-info --scope=SERVICE
npm run refresh

Usage

Il modulo espone la classe DeviceInfo per l'utilizzo con i servizi che la trattano.

This module publishes the class DeviceInfo for use in the appropriate services.

const DeviceInfo = require('device-info');

...

const hw = new DeviceInfo({ manufacturer, model, revision, deviceClass, deviceId });

License

MIT © Nicola Dal Maso