{"_id":"brave-location","_rev":"9-d82a87197cf6307a8066870f4bfcc64e","name":"brave-location","dist-tags":{"latest":"3.1.1"},"versions":{"1.0.0":{"name":"brave-location","version":"1.0.0","keywords":["brave","browser","spawn","location","process","guesstimate"],"author":{"url":"https://cezaraugusto.net","name":"Cezar Augusto","email":"boss@cezaraugusto.net"},"license":"MIT","_id":"brave-location@1.0.0","maintainers":[{"name":"cezaraugusto","email":"boss@cezaraugusto.net"}],"homepage":"https://github.com/cezaraugusto/brave-location#readme","bugs":{"url":"https://github.com/cezaraugusto/brave-location/issues"},"bin":{"brave-location":"bin.js"},"dist":{"shasum":"0b98fccd1b5d2d84a3b64213cc9281ae973efd39","tarball":"https://registry.npmjs.org/brave-location/-/brave-location-1.0.0.tgz","fileCount":8,"integrity":"sha512-i7fk2IkEZlxuRyD2V/aKLM9+EtKss15C/Hj7Dks8LSD7Wib8hc0RAEpiH+I89CdMIogtfvnrMjq/zqRVG4Bh9g==","signatures":[{"sig":"MEUCIQC0kwNErWlHa4+Y2VkrUlXnzRfW8jjLkZbtwZOXaH4hTQIgQjhHHZtP2bD/CBTf+GDKQvNqyQ0xp3CYSvdcgZfbBw0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiqqYCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo8ZA//cp7M6cNvNaOMgVTv/2lv9/8LM5dBdwP7SkyQxlH9N75dCAUq\r\nq+nXGzYIu03nhdHh+dO9wtFFldeQwtp0zGoI8XVGZuXzQ6Ld+9m1Q3Fr6yDN\r\nGcpqUvBGDlxt6130KsV/Sp3e6fNlOSayz5x9bLg8a48bq4MeeopGZS9D87Yl\r\nBjgSImgo4UNu8LRtodPK3P32NxSCjBh54f4af7rt/chZuGo6pPxBUak3WQdo\r\nC5eGz5RxpQOIfSMJUBT1HAUOutRnIFqxcX4XEfaU04yq4dQ9OfVDJXGXeYdR\r\ny8vzosX1fWXAa76L4xyNrp3LsEF9qD9yPnLY+FAJiKDJ8flCfs1F29ymRnvj\r\n2M4hfEi6HnDmFzW/hKtwvI6c5V9y6bW3NlHy3kPAolJh2Bg/BOZ2YxmVakJM\r\nRtqlr4tSoFHLi1esM3cZ52kFOD7ZYgzIh/ScpKwQq+BTZDAWAWzUwGw93Sgs\r\ncs91lSNPZrfuT6k5DEaEs0V+cXNOnIEakgq4D2fL0A/0433SSoUl+Gl4wChv\r\nk5+9/HUHlK6LoTb0gXJkNcY+cvUv29bVj5s1ezJivQtf0jntUoTvUFJfeiF8\r\nORhxNez9aApp97N/Ohzuyogjob+J7pOoi2LxP2sAlIYQHve04gIPb71MvTRO\r\nu1TE4FFtUh1zJPdp0gZ9y3ewO0aEbVBI2IE=\r\n=P2iW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"module.js","engines":{"node":">=10"},"gitHead":"2e131816ca2ee50105c0e069d6ee60cea6d4981c","scripts":{"test":"jasmine"},"_npmUser":{"name":"cezaraugusto","email":"boss@cezaraugusto.net"},"repository":{"url":"git+https://github.com/cezaraugusto/brave-location.git","type":"git"},"_npmVersion":"8.1.0","description":"Approximates the current location of the Brave browser across platforms.","directories":{},"_nodeVersion":"16.13.0","dependencies":{"which":"^2.0.2","userhome":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jasmine":"^4.2.0","mock-require":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/brave-location_1.0.0_1655350786226_0.7934882065959803","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"brave-location","version":"2.0.0","keywords":["brave","browser","spawn","location","process","guesstimate"],"author":{"url":"https://cezaraugusto.net","name":"Cezar Augusto","email":"boss@cezaraugusto.net"},"license":"MIT","_id":"brave-location@2.0.0","maintainers":[{"name":"cezaraugusto","email":"boss@cezaraugusto.net"}],"homepage":"https://github.com/cezaraugusto/brave-location#readme","bugs":{"url":"https://github.com/cezaraugusto/brave-location/issues"},"bin":{"brave-location":"bin.js"},"dist":{"shasum":"f96487205054600e235d6c74f134584c5d96add4","tarball":"https://registry.npmjs.org/brave-location/-/brave-location-2.0.0.tgz","fileCount":8,"integrity":"sha512-It5dIZ0QhgpF8nVCopQygI67HE0VIFlLddcxDhBgXG1jgPJ80NbT6um1wktALBJAJRSbSSKnHJYykaDLRU0ZDg==","signatures":[{"sig":"MEUCIHAZUNccP8yfpBmX+LmEzb88ztmjkCSr0YpieVtxl9vEAiEA1vVxXAk88Gg5+Cm/moJdWEKbL5AY4D/YrHDYPJBjrF4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/brave-location@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10136},"main":"module.js","engines":{"node":">=10"},"gitHead":"684c1703669c211c3a1c96e537ad63c52684fc4b","scripts":{"test":"jasmine","publish:provenance":"np patch --no-tests --any-branch --yolo --message 'release: %s' --provenance"},"_npmUser":{"name":"cezaraugusto","email":"boss@cezaraugusto.net"},"repository":{"url":"git+https://github.com/cezaraugusto/brave-location.git","type":"git"},"_npmVersion":"10.8.2","description":"Approximates the current location of the Brave browser across platforms.","directories":{},"_nodeVersion":"20.19.5","dependencies":{"which":"^5.0.0","userhome":"^1.0.1"},"publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1","devDependencies":{"np":"^10.0.0","jasmine":"^4.2.0","mock-require":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/brave-location_2.0.0_1761271923290_0.5231298428822242","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"brave-location","version":"2.0.1","keywords":["brave","browser","spawn","location","process","guesstimate"],"author":{"url":"https://cezaraugusto.net","name":"Cezar Augusto","email":"boss@cezaraugusto.net"},"license":"MIT","_id":"brave-location@2.0.1","maintainers":[{"name":"cezaraugusto","email":"boss@cezaraugusto.net"}],"homepage":"https://github.com/cezaraugusto/brave-location#readme","bugs":{"url":"https://github.com/cezaraugusto/brave-location/issues"},"bin":{"brave-location":"bin.js"},"dist":{"shasum":"4bb0e51ac21b527bac8f5d313dac34fa1a1e1edb","tarball":"https://registry.npmjs.org/brave-location/-/brave-location-2.0.1.tgz","fileCount":8,"integrity":"sha512-11uEHRyY2MptXtyqtve+djC2biDrnnIuNm5BHxMOJYfmUMtDmkrCsLJuZcCWKEeONomjj0y0zC+BjiSKAPkh+Q==","signatures":[{"sig":"MEUCIBwPZBthL2AVNbROwI5KeSiL9ouYUEeEamDMJ4g955QyAiEA9T37aD+rnQruKMJDgTutZevViI1sxjwr0nkAtIf+pMw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/brave-location@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10041},"main":"module.js","engines":{"node":">=10"},"gitHead":"eb548faf35b9d77ecafdeeab94e9cad6955ea191","scripts":{"test":"jasmine","publish:provenance":"np patch --no-tests --any-branch --yolo --message 'release: %s' --provenance"},"_npmUser":{"name":"cezaraugusto","email":"boss@cezaraugusto.net"},"repository":{"url":"git+https://github.com/cezaraugusto/brave-location.git","type":"git"},"_npmVersion":"10.8.2","description":"Approximates the current location of the Brave browser across platforms.","directories":{},"_nodeVersion":"20.19.5","dependencies":{"which":"^5.0.0","userhome":"^1.0.1"},"publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1","devDependencies":{"np":"^10.0.0","jasmine":"^4.2.0","mock-require":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/brave-location_2.0.1_1761273474884_0.8741600043916293","host":"s3://npm-registry-packages-npm-production"}},"3.0.2":{"name":"brave-location","version":"3.0.2","keywords":["brave","browser","spawn","location","process","guesstimate"],"author":{"url":"https://cezaraugusto.net","name":"Cezar Augusto","email":"boss@cezaraugusto.net"},"license":"MIT","_id":"brave-location@3.0.2","maintainers":[{"name":"cezaraugusto","email":"boss@cezaraugusto.net"}],"homepage":"https://www.npmjs.com/package/brave-location","bugs":{"url":"https://github.com/cezaraugusto/brave-location/issues"},"bin":{"brave-location":"bin.js"},"dist":{"shasum":"c68c782cced2b4a2c348c57383abe43e0a54e090","tarball":"https://registry.npmjs.org/brave-location/-/brave-location-3.0.2.tgz","fileCount":8,"integrity":"sha512-P9W3nWcwl6MvXekLSYSl6KNk04e0Pn+mZYztMmZJpCdTn7qkBYiZqOvbJ3y/NCODC9Ngb3BOJuw23kD6kdjAGQ==","signatures":[{"sig":"MEYCIQD/eVlpeyfKvOz/3GM9QY23Sbou8ijlPK1sjsUUYBNVxAIhANJgRDPpf+RyS06RJ+WzDEJnioF9CaO9/IZTmOndkF53","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/brave-location@3.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11171},"main":"module.js","engines":{"node":">=10"},"gitHead":"40417a9f880f73968167c86839acc430315e3481","scripts":{"test":"jasmine","publish:provenance":"np patch --no-tests --any-branch --yolo --message 'release: %s' --provenance"},"_npmUser":{"name":"cezaraugusto","email":"boss@cezaraugusto.net"},"repository":{"url":"git+https://github.com/cezaraugusto/brave-location.git","type":"git"},"_npmVersion":"10.8.2","description":"Approximates the current location of the Brave browser across platforms.","directories":{},"_nodeVersion":"20.19.5","dependencies":{"which":"^5.0.0","userhome":"^1.0.1"},"publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1","devDependencies":{"np":"^10.0.0","jasmine":"^4.2.0","mock-require":"^3.0.3"},"_npmOperationalInternal":{"tmp":"tmp/brave-location_3.0.2_1761798850119_0.31293320433946903","host":"s3://npm-registry-packages-npm-production"}},"3.0.4":{"name":"brave-location","version":"3.0.4","keywords":["brave","browser","spawn","location","process","guesstimate"],"author":{"url":"https://cezaraugusto.net","name":"Cezar Augusto","email":"boss@cezaraugusto.net"},"license":"MIT","_id":"brave-location@3.0.4","maintainers":[{"name":"cezaraugusto","email":"boss@cezaraugusto.net"}],"homepage":"https://www.npmjs.com/package/brave-location","bugs":{"url":"https://github.com/cezaraugusto/brave-location/issues"},"bin":{"brave-location":"bin.cjs"},"dist":{"shasum":"082af15c9675e34fd68a50631499d6bd105e7e9a","tarball":"https://registry.npmjs.org/brave-location/-/brave-location-3.0.4.tgz","fileCount":10,"integrity":"sha512-tjDK5POOw8byqM8jKj3f4ZLGulemUMqPgWuE7xIznDyYY5anfKqmKiKXiQu+yKllanJTnDoya8i4WY9Omq3HVA==","signatures":[{"sig":"MEUCIBfpWNrp0ZyGkhlFd95kgBgEvyR0qf0MbfZxrcZkUL/yAiEAxApre0WCeA/YyalxPBRRRwwc+7MgEcXMEUPuEepnpe8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/brave-location@3.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30595},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","engines":{"node":">=16"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"1e127fd281841e0b98603ff23d2e9cac287fcbe8","scripts":{"dev":"rslib build --watch","test":"vitest run","build":"rslib build","check":"pnpm dlx @biomejs/biome@1.9.4 check --write","format":"pnpm dlx @biomejs/biome@1.9.4 format --write","pretest":"npm run build","prepublishOnly":"npm run build","publish:provenance":"np patch --no-tests --any-branch --yolo --message 'release: %s' --provenance"},"_npmUser":{"name":"cezaraugusto","email":"boss@cezaraugusto.net"},"repository":{"url":"git+https://github.com/cezaraugusto/brave-location.git","type":"git"},"_npmVersion":"10.8.2","description":"Approximates the current location of the Brave browser across platforms.","directories":{},"_nodeVersion":"20.19.6","dependencies":{"which":"^2.0.2"},"engineStrict":false,"publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1","devDependencies":{"np":"^10.0.0","vitest":"^3.1.3","typescript":"^5.8.3","@rslib/core":"^0.6.9","@types/node":"^22.8.1","@types/which":"^3.0.4","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/brave-location_3.0.4_1768399999972_0.8174535349886385","host":"s3://npm-registry-packages-npm-production"}},"3.0.5":{"name":"brave-location","version":"3.0.5","keywords":["brave","browser","spawn","location","process","guesstimate"],"author":{"url":"https://cezaraugusto.net","name":"Cezar Augusto","email":"boss@cezaraugusto.net"},"license":"MIT","_id":"brave-location@3.0.5","maintainers":[{"name":"cezaraugusto","email":"boss@cezaraugusto.net"}],"homepage":"https://www.npmjs.com/package/brave-location","bugs":{"url":"https://github.com/cezaraugusto/brave-location/issues"},"bin":{"brave-location":"bin.cjs"},"dist":{"shasum":"566ecf064ea098da269ebd9079c0f4e06ed0f3e8","tarball":"https://registry.npmjs.org/brave-location/-/brave-location-3.0.5.tgz","fileCount":10,"integrity":"sha512-UG2cqKBlx+thJn5+hoECI5Lz8oDg+UYOulzQcS9Q1yYvfbBwG9eUiqKRcxsGhyE2ezmaqVqlGF842LWqz5qazA==","signatures":[{"sig":"MEYCIQDcyEwKu4gf7hOmSJRaRM8W/14ws2k7Xx2o9gy3dwJLPgIhAIvc+d7E0XmiaSlGGp+9nEzDssa8+UeWqC1QJ54YaeMw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30806},"main":"./dist/index.cjs","pnpm":{"overrides":{"tmp":">=0.2.6","vite":">=7.3.5","rollup":">=4.59.0","vitest":">=3.2.6","esbuild":">=0.25.0","js-yaml":">=4.2.0","postcss":">=8.5.10","minimatch":">=9.0.7","picomatch":">=4.0.4","brace-expansion":">=2.0.2"}},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=16"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e9c8077cd95d8a72aed3b2a240c6875be187722b","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"vitest run","build":"rslib build","pretest":"npm run build","lint:fix":"eslint . --fix","prepublishOnly":"npm run build"},"_npmUser":{"name":"cezaraugusto","email":"boss@cezaraugusto.net"},"repository":{"url":"git+https://github.com/cezaraugusto/brave-location.git","type":"git"},"_npmVersion":"11.11.0","description":"Approximates the current location of the Brave browser across platforms.","directories":{},"sideEffects":false,"_nodeVersion":"23.8.0","dependencies":{"which":"^2.0.2"},"engineStrict":false,"publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1","devDependencies":{"eslint":"^10.5.0","vitest":"^3.1.3","typescript":"^5.8.3","@rslib/core":"^0.6.9","@types/node":"^22.8.1","@types/which":"^3.0.4","eslint-config-auditor":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/brave-location_3.0.5_1781812683384_0.5628928577876648","host":"s3://npm-registry-packages-npm-production"}},"3.0.6":{"name":"brave-location","version":"3.0.6","keywords":["brave","browser","spawn","location","process","guesstimate"],"author":{"url":"https://cezaraugusto.net","name":"Cezar Augusto","email":"boss@cezaraugusto.net"},"license":"MIT","_id":"brave-location@3.0.6","maintainers":[{"name":"cezaraugusto","email":"boss@cezaraugusto.net"}],"homepage":"https://www.npmjs.com/package/brave-location","bugs":{"url":"https://github.com/cezaraugusto/brave-location/issues"},"bin":{"brave-location":"bin.cjs"},"dist":{"shasum":"b9b4418c72df7b1d8ca709df5205d7fe354756fe","tarball":"https://registry.npmjs.org/brave-location/-/brave-location-3.0.6.tgz","fileCount":10,"integrity":"sha512-P8xyMgj1uZVPFxTLnDtRgHiL8KSuapJmq32o3hGFaDzX5t0ScLs6eoIacnNhKiR+eaaEaxNrExaamc/m6oAnzw==","signatures":[{"sig":"MEQCIBG6QETJxo24CVuucoib+IQExUqAGeOegS3sgqOpdWOnAiBNRnlsqn0DL7AVGld3/aq5WRqlDtvsJDoxPGg8NjZybg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29479},"main":"./dist/index.cjs","pnpm":{"overrides":{"tmp":">=0.2.6","vite":">=7.3.5","rollup":">=4.59.0","vitest":">=3.2.6","esbuild":">=0.25.0","js-yaml":">=4.2.0","postcss":">=8.5.10","minimatch":">=9.0.7","picomatch":">=4.0.4","brace-expansion":">=2.0.2"}},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=16"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a73580046f835b706d47d180dffd89b6f3f0c8fa","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"vitest run","build":"rslib build","pretest":"npm run build","lint:fix":"eslint . --fix","prepublishOnly":"npm run build"},"_npmUser":{"name":"cezaraugusto","email":"boss@cezaraugusto.net"},"repository":{"url":"git+https://github.com/cezaraugusto/brave-location.git","type":"git"},"_npmVersion":"11.11.0","description":"Approximates the current location of the Brave browser across platforms.","directories":{},"sideEffects":false,"_nodeVersion":"23.8.0","dependencies":{"which":"^7.0.0"},"engineStrict":false,"publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1","devDependencies":{"eslint":"^10.5.0","vitest":"^4.1.9","typescript":"^6.0.3","@rslib/core":"^0.23.0","@types/node":"^25.9.3","@types/which":"^3.0.4","eslint-config-auditor":"^2.3.1"},"_npmOperationalInternal":{"tmp":"tmp/brave-location_3.0.6_1781819475905_0.4352517924648389","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"brave-location","version":"3.1.0","keywords":["brave","browser","spawn","location","process","guesstimate"],"author":{"url":"https://cezaraugusto.net","name":"Cezar Augusto","email":"boss@cezaraugusto.net"},"license":"MIT","_id":"brave-location@3.1.0","maintainers":[{"name":"cezaraugusto","email":"boss@cezaraugusto.net"}],"homepage":"https://www.npmjs.com/package/brave-location","bugs":{"url":"https://github.com/cezaraugusto/brave-location/issues"},"bin":{"brave-location":"bin.cjs"},"dist":{"shasum":"3c27ac279dfc73fd40f273f3291e59f7e6d5f736","tarball":"https://registry.npmjs.org/brave-location/-/brave-location-3.1.0.tgz","fileCount":10,"integrity":"sha512-729y5X0fUTrvV4Bbl+MoYmfaAX7caQMAjuiqKD+iUUlazmZ7Q9cFW6aV1dh97fPb1TEj0Alsk5Y7apGd+yZUJw==","signatures":[{"sig":"MEQCIAW59pBjrJSCAq5nvDfCcr0/cgn53bRF9VD36qw0qryOAiAabW6LU2WOjq1n1qYONCrPFxut8nRPqSJ98WRHl80pMA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31022},"main":"./dist/index.cjs","pnpm":{"overrides":{"tmp":">=0.2.6","vite":">=7.3.5","rollup":">=4.59.0","vitest":">=3.2.6","esbuild":">=0.25.0","js-yaml":">=4.2.0","postcss":">=8.5.10","minimatch":">=9.0.7","picomatch":">=4.0.4","brace-expansion":">=2.0.2"}},"type":"module","types":"./dist/index.d.ts","engines":{"node":">=16"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"c9c595a084fe3acaeccbbf11169a94bae588bb8c","scripts":{"dev":"rslib build --watch","lint":"eslint .","test":"vitest run","build":"rslib build","pretest":"npm run build","lint:fix":"eslint . --fix","prepublishOnly":"npm run build"},"_npmUser":{"name":"cezaraugusto","email":"boss@cezaraugusto.net"},"repository":{"url":"git+https://github.com/cezaraugusto/brave-location.git","type":"git"},"_npmVersion":"11.11.0","description":"Approximates the current location of the Brave browser across platforms.","directories":{},"sideEffects":false,"_nodeVersion":"23.8.0","dependencies":{"which":"^7.0.0"},"engineStrict":false,"publishConfig":{"provenance":true},"_hasShrinkwrap":false,"packageManager":"pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1","devDependencies":{"eslint":"^10.5.0","vitest":"^4.1.9","typescript":"^6.0.3","@rslib/core":"^0.23.0","@types/node":"^25.9.3","@types/which":"^3.0.4","eslint-config-auditor":"^2.3.1"},"_npmOperationalInternal":{"tmp":"tmp/brave-location_3.1.0_1783350798158_0.7089739579810697","host":"s3://npm-registry-packages-npm-production"}},"3.1.1":{"license":"MIT","repository":{"type":"git","url":"git+https://github.com/cezaraugusto/brave-location.git"},"name":"brave-location","version":"3.1.1","description":"Approximates the current location of the Brave browser across platforms.","homepage":"https://www.npmjs.com/package/brave-location","type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"main":"./dist/index.cjs","types":"./dist/index.d.ts","bin":{"brave-location":"bin.cjs"},"author":{"name":"Cezar Augusto","email":"boss@cezaraugusto.net","url":"https://cezaraugusto.net"},"scripts":{"build":"rslib build","dev":"rslib build --watch","pretest":"npm run build","test":"vitest run","prepublishOnly":"npm run build","lint":"eslint .","lint:fix":"eslint . --fix"},"engines":{"node":">=16"},"engineStrict":false,"publishConfig":{"provenance":true},"keywords":["brave","browser","spawn","location","process","guesstimate"],"dependencies":{"which":"^6.0.1"},"devDependencies":{"@rslib/core":"^0.23.2","@types/node":"^26.1.1","@types/which":"^3.0.4","eslint":"^10.8.0","eslint-config-auditor":"^3.0.0","typescript":"^6.0.3","vitest":"^4.1.10"},"packageManager":"pnpm@9.9.0+sha512.60c18acd138bff695d339be6ad13f7e936eea6745660d4cc4a776d5247c540d0edee1a563695c183a66eb917ef88f2b4feb1fc25f32a7adcadc7aaf3438e99c1","bugs":{"url":"https://github.com/cezaraugusto/brave-location/issues"},"sideEffects":false,"pnpm":{"overrides":{"vite":">=7.3.5","vitest":">=3.2.6","rollup":">=4.59.0","minimatch":">=9.0.7","picomatch":">=4.0.4","postcss":">=8.5.10","js-yaml":">=4.2.0","brace-expansion":">=2.0.2","tmp":">=0.2.6","esbuild":">=0.25.0"}},"gitHead":"3f3ca0af4eb31d71cc4872e9dd657521850856dd","_id":"brave-location@3.1.1","_nodeVersion":"22.23.1","_npmVersion":"12.0.2","dist":{"integrity":"sha512-HEmKZ7N2jbZVYqetfcWmSoZYNgo+6i0NsCX0MG+s7tl80yaJPKtpXHzFWsmsyRHq4gGErFysOCcvobNeE4zs/w==","shasum":"79fcb17ec766f3b00f8d2afa2cca0b15d1584fbb","tarball":"https://registry.npmjs.org/brave-location/-/brave-location-3.1.1.tgz","fileCount":10,"unpackedSize":31023,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/brave-location@3.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICLVXICb4zeeLgDyLHHWkCBOV30omO2TmAmmoDJ9QWmJAiEAjjruOc8jfU/o2bo1flERlIzSvORtIRcC5ug+WFCb8ro="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7c04abc3-331e-4516-8964-75211f84e926"}},"directories":{},"maintainers":[{"name":"cezaraugusto","email":"boss@cezaraugusto.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/brave-location_3.1.1_1785634073944_0.2407485751263969"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-16T03:39:46.225Z","modified":"2026-08-02T01:27:54.380Z","1.0.0":"2022-06-16T03:39:46.407Z","2.0.0":"2025-10-24T02:12:03.465Z","2.0.1":"2025-10-24T02:37:55.062Z","3.0.2":"2025-10-30T04:34:10.295Z","3.0.4":"2026-01-14T14:13:20.111Z","3.0.5":"2026-06-18T19:58:03.522Z","3.0.6":"2026-06-18T21:51:16.040Z","3.1.0":"2026-07-06T15:13:18.327Z","3.1.1":"2026-08-02T01:27:54.091Z"},"bugs":{"url":"https://github.com/cezaraugusto/brave-location/issues"},"author":{"name":"Cezar Augusto","email":"boss@cezaraugusto.net","url":"https://cezaraugusto.net"},"license":"MIT","homepage":"https://www.npmjs.com/package/brave-location","keywords":["brave","browser","spawn","location","process","guesstimate"],"repository":{"type":"git","url":"git+https://github.com/cezaraugusto/brave-location.git"},"description":"Approximates the current location of the Brave browser across platforms.","maintainers":[{"name":"cezaraugusto","email":"boss@cezaraugusto.net"}],"readme":"[npm-version-image]: https://img.shields.io/npm/v/brave-location.svg?color=0971fe\n[npm-version-url]: https://www.npmjs.com/package/brave-location\n[npm-downloads-image]: https://img.shields.io/npm/dm/brave-location.svg?color=2ecc40\n[npm-downloads-url]: https://www.npmjs.com/package/brave-location\n[action-image]: https://github.com/cezaraugusto/brave-location/actions/workflows/ci.yml/badge.svg?branch=main\n[action-url]: https://github.com/cezaraugusto/brave-location/actions\n[npm-provenance-image]: https://img.shields.io/badge/provenance-verified-0971fe?logo=npm&logoColor=white\n[npm-provenance-url]: https://www.npmjs.com/package/brave-location\n\n> Approximates the current location of the Brave browser across platforms.\n\n# brave-location [![Version][npm-version-image]][npm-version-url] [![Downloads][npm-downloads-image]][npm-downloads-url] [![workflow][action-image]][action-url] [![Provenance][npm-provenance-image]][npm-provenance-url]\n\n<img alt=\"Brave\" align=\"right\" src=\"https://cdn.jsdelivr.net/gh/extension-js/media@db5deb23fbfa85530f8146718812972998e13a4d/browser_logos/svg/brave.svg\" width=\"10.5%\" />\n\n- By default checks only `stable`. Optionally can cascade to `beta` / `nightly`.\n- Supports macOS / Windows / Linux\n- Works both as an ES module or CommonJS\n\n## Installation\n\n```bash\nnpm i brave-location\n```\n\n## Support table\n\nThis table lists the default locations where Brave is typically installed for each supported platform and channel. By default, only the Stable channel is checked. When fallback is enabled, the package checks these paths (in order) and returns the first one found.\n\n<table>\n  <thead>\n    <tr>\n      <th>Platform</th>\n      <th>Channel</th>\n      <th>Paths checked</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td rowspan=\"3\" align=\"center\"><img alt=\"\" width=\"64\" height=\"64\" src=\"https://cdn.jsdelivr.net/gh/extension-js/media@db5deb23fbfa85530f8146718812972998e13a4d/platform_logos/macos.png\" /><br><strong>macOS</strong></td>\n      <td align=\"center\">Stable</td>\n      <td>\n        <ul>\n          <li><code>/Applications/Brave Browser.app/Contents/MacOS/Brave Browser</code></li>\n          <li><code>~/Applications/Brave Browser.app/Contents/MacOS/Brave Browser</code></li>\n        </ul>\n      </td>\n    </tr>\n    <tr>\n      <td align=\"center\">Beta</td>\n      <td>\n        <ul>\n          <li><code>/Applications/Brave Browser Beta.app/Contents/MacOS/Brave Browser Beta</code></li>\n          <li><code>~/Applications/Brave Browser Beta.app/Contents/MacOS/Brave Browser Beta</code></li>\n        </ul>\n      </td>\n    </tr>\n    <tr>\n      <td align=\"center\">Nightly</td>\n      <td>\n        <ul>\n          <li><code>/Applications/Brave Browser Nightly.app/Contents/MacOS/Brave Browser Nightly</code></li>\n          <li><code>~/Applications/Brave Browser Nightly.app/Contents/MacOS/Brave Browser Nightly</code></li>\n        </ul>\n      </td>\n    </tr>\n    <tr>\n      <td rowspan=\"3\" align=\"center\"><img alt=\"\" width=\"64\" height=\"64\" src=\"https://cdn.jsdelivr.net/gh/extension-js/media@db5deb23fbfa85530f8146718812972998e13a4d/platform_logos/windows.png\" /><br><strong>Windows</strong></td>\n      <td align=\"center\">Stable</td>\n      <td>\n        <ul>\n          <li><code>%LOCALAPPDATA%\\BraveSoftware\\Brave-Browser\\Application\\brave.exe</code></li>\n          <li><code>%PROGRAMFILES%\\BraveSoftware\\Brave-Browser\\Application\\brave.exe</code></li>\n          <li><code>%PROGRAMFILES(X86)%\\BraveSoftware\\Brave-Browser\\Application\\brave.exe</code></li>\n        </ul>\n      </td>\n    </tr>\n    <tr>\n      <td align=\"center\">Beta</td>\n      <td>\n        <ul>\n          <li><code>%LOCALAPPDATA%\\BraveSoftware\\Brave-Browser-Beta\\Application\\brave.exe</code></li>\n          <li><code>%PROGRAMFILES%\\BraveSoftware\\Brave-Browser-Beta\\Application\\brave.exe</code></li>\n          <li><code>%PROGRAMFILES(X86)%\\BraveSoftware\\Brave-Browser-Beta\\Application\\brave.exe</code></li>\n        </ul>\n      </td>\n    </tr>\n    <tr>\n      <td align=\"center\">Nightly</td>\n      <td>\n        <ul>\n          <li><code>%LOCALAPPDATA%\\BraveSoftware\\Brave-Browser-Nightly\\Application\\brave.exe</code></li>\n          <li><code>%PROGRAMFILES%\\BraveSoftware\\Brave-Browser-Nightly\\Application\\brave.exe</code></li>\n          <li><code>%PROGRAMFILES(X86)%\\BraveSoftware\\Brave-Browser-Nightly\\Application\\brave.exe</code></li>\n        </ul>\n      </td>\n    </tr>\n    <tr>\n      <td rowspan=\"3\" align=\"center\"><img alt=\"\" width=\"64\" height=\"64\" src=\"https://cdn.jsdelivr.net/gh/extension-js/media@db5deb23fbfa85530f8146718812972998e13a4d/platform_logos/linux.png\" /><br><strong>Linux/other</strong></td>\n      <td align=\"center\">Stable</td>\n      <td>\n        <ul>\n          <li><code>brave-browser</code> (on <code>$PATH</code>)</li>\n        </ul>\n      </td>\n    </tr>\n    <tr>\n      <td align=\"center\">Beta</td>\n      <td>\n        <ul>\n          <li><code>brave-browser-beta</code> (on <code>$PATH</code>)</li>\n        </ul>\n      </td>\n    </tr>\n    <tr>\n      <td align=\"center\">Nightly</td>\n      <td>\n        <ul>\n          <li><code>brave-browser-nightly</code> (on <code>$PATH</code>)</li>\n        </ul>\n      </td>\n    </tr>\n  </tbody>\n  </table>\n\nReturns the first existing path found (given the selected channels), or `null` if none are found.\n\n## Usage\n\n**Via Node.js (strict by default):**\n\n```js\n\nimport braveLocation from \"brave-location\";\nimport {\n  locateBraveOrExplain,\n  getInstallGuidance,\n  getBraveVersion\n} from \"brave-location\";\n\n// Strict (Stable only)\nconsole.log(braveLocation());\n// => \"/Applications/Brave Browser.app/Contents/MacOS/Brave Browser\" or null\n\n// Enable fallback (Stable / Beta / Nightly)\nconsole.log(braveLocation(true));\n// => first found among Stable/Beta/Nightly or null\n\n// Throw with a friendly guide when not found\ntry {\n  const bin = locateBraveOrExplain({allowFallback: true});\n  console.log(bin);\n\n  // Cross-platform version (no exec by default)\n  console.log(getBraveVersion(bin)); // e.g. \"132.1.72.123\" or null\n\n  // Opt-in: allow executing the binary (Linux/other)\n  console.log(getBraveVersion(bin, {allowExec: true}));\n} catch (e) {\n  console.error(String(e));\n  // Or print getInstallGuidance() explicitly\n}\n```\n\n**CommonJS:**\n\n```js\nconst api = require('brave-location')\nconst locateBrave = api.default || api\n```\n\n**Via CLI:**\n\n```bash\nnpx brave-location\n# Strict (Stable only)\n\nnpx brave-location --fallback\n# Enable cascade (Stable / Beta / Nightly)\n\n# Respect environment overrides\nBRAVE_BINARY=/custom/path/to/brave npx brave-location\n\n# Print browser version (empty + exit code 2 if unavailable)\nnpx brave-location --brave-version\nnpx brave-location --browser-version\n\n# Opt-in: allow executing the binary to fetch version\nnpx brave-location --browser-version --allow-exec\n```\n\n### Environment overrides\n\nIf this environment variable is set and points to an existing binary, it takes precedence:\n\n- `BRAVE_BINARY`\n\n## API\n\n- `default export locateBrave(allowFallback?: boolean): string | null`\n- `locateBraveOrExplain(options?: boolean | { allowFallback?: boolean }): string`\n- `getBraveVersion(bin: string, opts?: { allowExec?: boolean }): string | null`\n- `getInstallGuidance(): string`\n\n## Related projects\n\n- [chrome-location2](https://github.com/cezaraugusto/chrome-location2)\n- [chromium-location](https://github.com/cezaraugusto/chromium-location)\n- [edge-location](https://github.com/cezaraugusto/edge-location)\n- [firefox-location2](https://github.com/cezaraugusto/firefox-location2)\n- [safari-location2](https://github.com/cezaraugusto/safari-location2)\n- [opera-location2](https://github.com/cezaraugusto/opera-location2)\n- [vivaldi-location2](https://github.com/cezaraugusto/vivaldi-location2)\n- [waterfox-location](https://github.com/cezaraugusto/waterfox-location)\n- [librewolf-location](https://github.com/cezaraugusto/librewolf-location)\n- [yandex-location](https://github.com/cezaraugusto/yandex-location)\n\n## License\n\nMIT (c) Cezar Augusto.\n","readmeFilename":"README.md"}