Socket
Book a DemoInstallSign in
Socket

device-file

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

device-file

Device only file

latest
Source
npmnpm
Version
2.1.3
Version published
Weekly downloads
7.7K
95.03%
Maintainers
1
Weekly downloads
 
Created
Source

device-file

Device only file

npm install device-file

Stores some metadata about the device and complains if it thinks its been modified

Usage

const DeviceFile = require('device-file')

const d = new DeviceFile('DEVICE', { data: { appId: 'my-app-id' }})

// throws if DEVICE was modified or user data doesnt match or if it looks like an unsafe backup
await d.ready()

License

Apache-2.0

FAQs

Package last updated on 10 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts