{"_id":"bare-url@2.5.4","bugs":{"url":"https://github.com/holepunchto/bare-url/issues"},"dist":{"shasum":"10ab50f39b50335e2aa7672d5941043dbfc7749e","tarball":"http://registry-npm.ywwl.com/bare-url/download/bare-url-2.5.4.tgz","fileCount":27,"integrity":"sha512-Gxa7UVWBr0/edU1b+TJhn/AZvMQUj9OGspvYsaTYQrAbZA4BOTZGL3LiZxvD+CeMlDH4juwD84+eTAp/bLYW5g==","signatures":[{"sig":"MEUCIQDWux8NeA0Gv/NO3lJWsuYjK4MyhDXEfUkq18VX2n7kCwIgbLSfNoZZYsGz5QEr3vkRp/OvevKqIxcrsg9b1Y+Q2jY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCG6z56o9PUCzjmolSkHDGrWDuQlabxB0vRTcDwSlcdNwIgZUvtRGZZDtVsgpKy2LdQ9xm8TJZETMis4qQifUiop3E="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/bare-url@2.5.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":3657979,"size":1529187,"noattachment":false,"key":"/bare-url/-/bare-url-2.5.4.tgz"},"name":"bare-url","addon":true,"types":"./index.d.ts","author":{"name":"Holepunch"},"exports":{".":{"types":"./index.d.ts","default":"./index.js"},"./global":{"types":"./global.d.ts","default":"./global.js"},"./package":"./package.json"},"gitHead":"0dea075ef1d4f2016342fbb27ee88030b4e023ef","license":"Apache-2.0","scripts":{"lint":"prettier --check . && lunte","test":"brittle-bare --coverage test.js","format":"prettier --write . && lunte --fix"},"version":"2.5.4","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6baa2f2a-919b-4a9e-b5b9-48ad9c05e115"}},"homepage":"https://github.com/holepunchto/bare-url","repository":{"url":"git+https://github.com/holepunchto/bare-url.git","type":"git"},"_npmVersion":"11.17.0","description":"WHATWG URL implementation for JavaScript","directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_nodeVersion":"24.19.0","dependencies":{"bare-path":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.6.0","brittle":"^3.3.2","prettier":"^3.3.3","cmake-bare":"^1.8.1","cmake-fetch":"^1.0.0","prettier-config-holepunch":"^2.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bare-url_2.5.4_1788345294043_0.2552460934486125"},"readme":"# bare-url\n\nWHATWG URL implementation for JavaScript, built on <https://github.com/holepunchto/liburl>. Provides `URL` and `URLSearchParams` classes compatible with the WHATWG URL Standard.\n\n```\nnpm i bare-url\n```\n\n## Usage\n\n```js\nconst { URL, URLSearchParams } = require('bare-url')\n\nconst url = new URL('https://example.com/path?foo=bar#hash')\n\nconsole.log(url.hostname) // 'example.com'\nconsole.log(url.pathname) // '/path'\nconsole.log(url.searchParams.get('foo')) // 'bar'\n```\n\nTo register `URL` and `URLSearchParams` as globals:\n\n```js\nrequire('bare-url/global')\n```\n\n## API\n\nSee the [`bare-url` reference](https://docs.pears.com/reference/bare/modules/bare-url).\n\n## License\n\nApache-2.0\n","publish_time":1788345294169,"_cnpm_publish_time":1788345294169,"dist-tags":{"latest":"2.5.5"}}