1.0.1 • Published 1 year ago

various-devices v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

various-devices

This is a cross-platform open source library for obtaining device name and device model.

Installation

npm install various-devices

usage

Get the current environment

cjs

const { getEnv } = require('various-devices');

esm

import { getEnv } from 'various-devices';

Return value

paramsintroduce
electron桌面程序
browser浏览器
nodenode环境
webworkerwebworker

more

For more APIs, please refer to the

documentation

1.0.1

1 year ago

1.0.0

1 year ago