{"name":"device-file","version":"1.2.6","author":{"name":"Holepunch Inc"},"license":"Apache-2.0","_id":"device-file@1.2.6","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":"2611655e74baeccbfd4d38388b16b4b482cd3a39","tarball":"http://registry-npm.ywwl.com/device-file/download/device-file-1.2.6.tgz","fileCount":4,"integrity":"sha512-gHH0lYHWvxjDOstkLji6ExtmYUPtpgICdkEeOuKkodiz111e7rPZP1WWwHlEmvA/gDNQl3KJkbWJ8YDidu3C4A==","signatures":[{"sig":"MEUCIQCEksVG8SzlZJ05fYWNW43OTTPzm0CNnqt84ysWDhu0EwIgQRqeL7cWDpdeuFUSi22QLIxONmnvvFmoc8gvnbCRpoQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16854,"size":5974,"noattachment":false,"key":"/device-file/-/device-file-1.2.6.tgz"},"main":"index.js","gitHead":"3187e11d49b3ebd6851ef028b8ee8053c8ca5c86","imports":{"fs":{"bare":"bare-fs","default":"fs"}},"scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/device-file.git","type":"git"},"_npmVersion":"10.9.0","description":"Device only file","directories":{},"_nodeVersion":"22.12.0","dependencies":{"b4a":"^1.6.7","bare-fs":"^4.0.1","fs-native-extensions":"^1.4.0"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.13.1","standard":"^17.1.2"},"_npmOperationalInternal":{"tmp":"tmp/device-file_1.2.6_1744125018599_0.6711612450239894","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":1744125018770,"_cnpm_publish_time":1744125018770,"dist-tags":{"latest":"2.3.1"}}