{"name":"device-file","version":"1.2.5","author":{"name":"Holepunch Inc"},"license":"Apache-2.0","_id":"device-file@1.2.5","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":"56c994a69d8e768cf6fc5c307a1a4b7be17cfd2c","tarball":"http://registry-npm.ywwl.com/device-file/download/device-file-1.2.5.tgz","fileCount":4,"integrity":"sha512-/WKlIqNmGh1OlDyLQquH+wKqFrgm1G1S3rbZhur2AgR0e3KEO4nYncqSDe7MVK/kVuqRzNCSLPFapLwtxcV43Q==","signatures":[{"sig":"MEUCIDRnwF7uUvvADaDaD0vz/MDmhts6YoVxC1g1QTELWOUOAiEAwmtpaCzby1IrxTRrfuI48wCt/ZNK8qpkHNwMT5ivMvQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16874,"size":5977,"noattachment":false,"key":"/device-file/-/device-file-1.2.5.tgz"},"main":"index.js","gitHead":"c5220dff32f3324a895185d85b272347c38269e7","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.5_1743593023472_0.2139581349354691","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":1743593023640,"_cnpm_publish_time":1743593023640,"dist-tags":{"latest":"2.3.1"}}