{"name":"linkedom-global","repository":{"type":"git","url":"git+https://github.com/fabiospampinato/linkedom-global.git"},"description":"Make Node a browser-like environment, by using LinkeDOM.","license":"MIT","version":"1.0.1","type":"module","main":"dist/index.js","types":"./dist/index.d.ts","exports":{".":"./dist/variants/default.js","./cached":"./dist/variants/cached.js","./worker":"./dist/variants/worker.js"},"scripts":{"clean":"tsex clean","compile":"tsex compile","compile:watch":"tsex compile --watch","test":"tsex test","test:watch":"tsex test --watch","prepublishOnly":"tsex prepare"},"keywords":["linkedom","dom","browser","environment"],"peerDependencies":{"linkedom":"*"},"devDependencies":{"fava":"^0.3.4","tsex":"^4.0.2","typescript":"^5.8.2"},"_id":"linkedom-global@1.0.1","gitHead":"c886e84828babaf9cabb040e40994e39ede51dae","bugs":{"url":"https://github.com/fabiospampinato/linkedom-global/issues"},"homepage":"https://github.com/fabiospampinato/linkedom-global#readme","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-9Q6hZXV+Sa5f9OS+/kaSpudeQQJ0XLW8uqDB1Y5P/bDGk9fPeUc1BXVlULBbd2GLD/4+jvz8MVXEPAbK8HrG0g==","shasum":"fff9f8e542d261b36218d1df86359b47feeacfc6","tarball":"http://registry-npm.ywwl.com/linkedom-global/download/linkedom-global-1.0.1.tgz","fileCount":13,"unpackedSize":5644,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDZo/gqJtZtRduDXD+B4K+hOBv0y3pFZmROmQ60n4VxZAiEAotM4dXNAhpYP5ep1LGbkixLR2aHVlA/Aly8lxrryIpc="}],"size":2559,"noattachment":false,"key":"/linkedom-global/-/linkedom-global-1.0.1.tgz"},"_npmUser":{"name":"fabiospampinato","email":"spampinabio@gmail.com"},"directories":{},"maintainers":[{"name":"fabiospampinato","email":"spampinabio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/linkedom-global_1.0.1_1741480997311_0.24856281916581735"},"_hasShrinkwrap":false,"readme":"# LinkeDOM Global\n\nMake Node a browser-like environment, by using [LinkeDOM](https://github.com/WebReflection/linkedom).\n\n## Install\n\n```sh\nnpm install linkedom-global\n```\n\n## Usage\n\nSimply importing it will register browser-like globals:\n\n```ts\nimport 'linkedom-global'; // Register globals using 'linkedom'\n// import 'linkedom-global/cached'; // Register globals using 'linkedom/cached'\n// import 'linkedom-global/worker'; // Register globals using 'linkedom/worker'\n\n// Let's check that some browser-like globals are available\n\nconsole.log ( typeof globalThis.window ); // => 'object'\nconsole.log ( typeof globalThis.document ); // => 'object'\nconsole.log ( typeof globalThis.navigator ); // => 'object'\n```\n\n## License\n\nMIT © Fabio Spampinato\n","publish_time":1741480997495,"_cnpm_publish_time":1741480997495,"dist-tags":{"latest":"1.0.1"}}