Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hnzycfcfed/device
https://github.com/hnzycfcfed/device
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/hnzycfcfed/device
- Owner: hnzycfcfed
- Created: 2022-06-23T07:25:18.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-23T07:37:22.000Z (over 2 years ago)
- Last Synced: 2023-03-06T19:10:32.534Z (almost 2 years ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### 安装
---
##### 通过npm安装:
```
npm i --save @hnzycfcfed/device
```### 演示
---
```javascript
import device from '@hnzycfcfed/device';console.log('OS: ', device.os.iOS);
console.log('Browser: ', device.browser);
console.log('Network: ', device.extra.network);```