{"name":"device-file","version":"2.0.2","author":{"name":"Holepunch Inc"},"license":"Apache-2.0","_id":"device-file@2.0.2","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/device-file","bugs":{"url":"https://github.com/holepunchto/device-file/issues"},"dist":{"shasum":"ed08b460d0cf793b7553ea5989af9358cf791b04","tarball":"http://registry-npm.ywwl.com/device-file/download/device-file-2.0.2.tgz","fileCount":4,"integrity":"sha512-feRrMOE922LWMjBknTqZGVb2fATBeAmuf3COA/bEQye0+gBkoAKP5VL/JrrbgPEVVeDkmCp8xgx1c0Ec5yD6kw==","signatures":[{"sig":"MEUCIQDy/pGq0IbvujkU6LJCXBszdGykn6hFtAs/FUcNWCeexAIgE1fDj/FI+65V21x3sbLrUrM39QmGf2zJIRW+SB8rTCA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18827,"size":6476,"noattachment":false,"key":"/device-file/-/device-file-2.0.2.tgz"},"main":"index.js","gitHead":"0c2d132b2c0380fd95eeeb96d29db9398093db2a","imports":{"fs":{"bare":"bare-fs","default":"fs"},"path":{"bare":"bare-path","default":"path"}},"scripts":{"lint":"prettier --check . && lunte","test":"brittle test.js","format":"prettier --write ."},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/device-file.git","type":"git"},"_npmVersion":"10.9.2","description":"Device only file","directories":{},"_nodeVersion":"22.16.0","dependencies":{"b4a":"^1.6.7","bare-fs":"^4.0.1","bare-path":"^3.0.0","ready-resource":"^1.2.0","fs-native-extensions":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.0.2","brittle":"^3.13.1","prettier":"^3.6.2","prettier-config-holepunch":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/device-file_2.0.2_1762434076074_0.24204487226985205","host":"s3://npm-registry-packages-npm-production"},"readme":"# device-file\n\nDevice only file\n\n```\nnpm install device-file\n```\n\nStores some metadata about the device and complains if it thinks its been modified\n\n## Usage\n\n```js\nconst DeviceFile = require('device-file')\n\nconst d = new DeviceFile('DEVICE', { data: { appId: 'my-app-id' } })\n\n// throws if DEVICE was modified or user data doesnt match or if it looks like an unsafe backup\nawait d.ready()\n```\n\n## License\n\nApache-2.0\n","publish_time":1762434076254,"_cnpm_publish_time":1762434076254,"dist-tags":{"latest":"2.3.1"}}