{"name":"device-file","version":"2.2.0","author":{"name":"Holepunch Inc"},"license":"Apache-2.0","_id":"device-file@2.2.0","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":"a08e21d8d39e0b6a3e2256be448146794f2c92a7","tarball":"http://registry-npm.ywwl.com/device-file/download/device-file-2.2.0.tgz","fileCount":4,"integrity":"sha512-I9YMCUz2lSpMzI4iGSAE9zUMzJSok5wZxQ+hMp6R1bZ9LrDwfYVHKl7blGR00KCKXOK5gieAKcV5jICu/TLCmA==","signatures":[{"sig":"MEUCIQDAZOlnIm8NJD9hUVGNrU1vZXa7sP85Lb8oyi0GQ5oZxwIgHZKl6BxIqUmHoSm3XpmvN/teAzF1YnIYNb2yWUhLh28=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19054,"size":6512,"noattachment":false,"key":"/device-file/-/device-file-2.2.0.tgz"},"main":"index.js","gitHead":"7f1da927ecc6600df3eb3ea2c2160d93a284e3ae","imports":{"fs":{"bare":"bare-fs","default":"fs"},"path":{"bare":"bare-path","default":"path"}},"scripts":{"lint":"prettier --check . && lunte","test":"npm run test:node && npm run test:bare","format":"prettier --write .","test:bare":"brittle-bare --coverage test.js","test:node":"brittle-node --coverage test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/device-file.git","type":"git"},"_npmVersion":"11.7.0","description":"Device only file","directories":{},"_nodeVersion":"22.16.0","dependencies":{"b4a":"^1.6.7","bare-fs":"^4.0.1","fd-lock":"^2.1.0","bare-path":"^3.0.0","ready-resource":"^1.2.0","fs-native-extensions":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.3.0","brittle":"^3.13.1","prettier":"^3.6.2","prettier-config-holepunch":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/device-file_2.2.0_1769011464306_0.436212764201771","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":1769011464442,"_cnpm_publish_time":1769011464442,"dist-tags":{"latest":"2.3.1"}}