{"name":"device-file","version":"2.3.1","description":"Device only file","main":"index.js","dependencies":{"b4a":"^1.6.7","bare-fs":"^4.0.1","bare-path":"^3.0.0","fd-lock":"^2.1.0","fs-native-extensions":"^1.4.0","ready-resource":"^1.2.0"},"devDependencies":{"brittle":"^3.13.1","lunte":"^1.3.0","prettier":"^3.6.2","prettier-config-holepunch":"^2.0.0"},"scripts":{"format":"prettier --write .","lint":"prettier --check . && lunte","test":"npm run test:node && npm run test:bare","test:node":"brittle-node --coverage test.js","test:bare":"brittle-bare --coverage test.js"},"imports":{"fs":{"bare":"bare-fs","default":"fs"},"path":{"bare":"bare-path","default":"path"}},"repository":{"type":"git","url":"git+https://github.com/holepunchto/device-file.git"},"author":{"name":"Holepunch Inc"},"license":"Apache-2.0","bugs":{"url":"https://github.com/holepunchto/device-file/issues"},"homepage":"https://github.com/holepunchto/device-file","gitHead":"45af763788b133922d70c8010a6aa1f98a3c8b1c","_id":"device-file@2.3.1","_nodeVersion":"22.16.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-bmON44lwxJPle9N2OcH4tqM44pMGZKT8G6OkzXkz0urvqQ9LKkoQdTS6w0ztYfmLdUE27R4UUmx0+y2gEz4Jug==","shasum":"6e3cb796a54c6da71129cec030defeb12f5d4d0c","tarball":"http://registry-npm.ywwl.com/device-file/download/device-file-2.3.1.tgz","fileCount":4,"unpackedSize":19360,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC2vy4gsC5xZ2dhTn3XKsArWGzETBzbs5AlYnKfdprSJwIhAP2BkymEoqsqSEuRbzi7M/tqIQQXWic7TizDGqAFZDWY"}],"size":6587,"noattachment":false,"key":"/device-file/-/device-file-2.3.1.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/device-file_2.3.1_1769539042990_0.1777853367213369"},"_hasShrinkwrap":false,"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":1769539043124,"_cnpm_publish_time":1769539043124,"dist-tags":{"latest":"2.3.1"}}