{"name":"unicorn-magic","version":"0.4.0","description":"Some useful utilities I often need","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/unicorn-magic.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{".":{"node":{"types":"./node.d.ts","import":"./node.js"},"default":{"types":"./default.d.ts","import":"./default.js"}},"./node":{"types":"./node.d.ts","import":"./node.js"}},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava && tsc node.d.ts"},"keywords":["utilities","util","extras","url","path","delay","wait","settimeout","sleep","child_process","child","process","subprocess","exec","execfile","execfilesync"],"devDependencies":{"ava":"^6.4.1","in-range":"^3.0.0","time-span":"^5.1.0","typescript":"^5.9.3","xo":"^0.59.2"},"gitHead":"0829b385e1eca17ecfee99e23a61f640ccb55351","_id":"unicorn-magic@0.4.0","bugs":{"url":"https://github.com/sindresorhus/unicorn-magic/issues"},"homepage":"https://github.com/sindresorhus/unicorn-magic#readme","_nodeVersion":"20.19.5","_npmVersion":"11.6.1","dist":{"integrity":"sha512-wH590V9VNgYH9g3lH9wWjTrUoKsjLF6sGLjhR4sH1LWpLmCOH0Zf7PukhDA8BiS7KHe4oPNkcTHqYkj7SOGUOw==","shasum":"78c6a090fd6d07abd2468b83b385603e00dfdb24","tarball":"http://registry-npm.ywwl.com/unicorn-magic/download/unicorn-magic-0.4.0.tgz","fileCount":7,"unpackedSize":7528,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDuFtBakrjSedBSSEkjWH9BTOqO888DTWrVIXiR6p776gIhAP5EH1HWOuLEeFUo5QoT4kje6F0aFJavcFoRuy0bEDpa"}],"size":3209,"noattachment":false,"key":"/unicorn-magic/-/unicorn-magic-0.4.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/unicorn-magic_0.4.0_1763202377446_0.6722415265344104"},"_hasShrinkwrap":false,"readme":"# unicorn-magic\n\n> Some useful utilities I often need\n\n*I'm not accepting requests.*\n\n## Install\n\n```sh\nnpm install unicorn-magic\n```\n\n## Usage\n\n```js\nimport {delay} from 'unicorn-magic';\n\nawait delay({seconds: 1});\n\nconsole.log('1 second later');\n```\n\nYou can also import from the `/node` sub-export to explicitly get the Node.js-specific utilities (useful for bundler compatibility):\n\n```js\nimport {toPath} from 'unicorn-magic/node';\n```\n\n## API\n\nSee the [Node.js types](node.d.ts) and [default types](default.d.ts).\n","publish_time":1763202377659,"_cnpm_publish_time":1763202377659,"dist-tags":{"latest":"0.4.1"}}