1.2.2 • Published 3 months ago

device-file v1.2.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 months ago

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 { create, resume } = require('device-file')

await create('DEVICE', { appId: 'my-app-id' }) // pass whatever unique data you have for the device/app

// throws if DEVICE was modified or user data doesnt match or if it looks like an unsafe backup
await resume('DEVICE', { appId: 'my-app-id' })

License

Apache-2.0

1.2.2

3 months ago

1.2.1

3 months ago

1.2.0

3 months ago

1.1.1

3 months ago

1.1.0

3 months ago

1.0.0

3 months ago