{"_id":"this-file","_rev":"9-2cfa4f68306a1ed22800a5adf5cdbcfd","name":"this-file","dist-tags":{"latest":"2.0.3"},"versions":{"1.0.0":{"name":"this-file","version":"1.0.0","main":"./lib/index.js","module":"./es/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/fwh1990/node-rootdir.git"},"author":{"name":"原罪"},"license":"MIT","exports":{".":{"require":"./lib/index.js","import":"./es/index.js"},"./":"./"},"scripts":{"prepublishOnly":"ts-prepublish","test":"sh ./scripts/test.sh"},"devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.3.1","jest":"^27.0.1","ts-node":"^10.0.0","ts-prepublish":"^2.0.0","typescript":"^4.2.4"},"gitHead":"dcfcb83c7704134ee687499000ea80b48eb4923f","description":"If you are a author of open source repository, you may want to support both commonjs and es-module for users since it's a confused period. It's hard to use `__dirname` and `import.meta.url` in one file specially for typescript project.","bugs":{"url":"https://github.com/fwh1990/node-rootdir/issues"},"homepage":"https://github.com/fwh1990/node-rootdir#readme","_id":"this-file@1.0.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-1SJn2y+P52rSEhzEUU4ZbPU1qqTFx4Bar5Sn285GIbb6djFJQBiMXBySFpv+yFY8SzsslOcJFm9z1k8eFqn3Yg==","shasum":"4e04deaa51333b42befa09000d1ae51b226e5021","tarball":"https://registry.npmjs.org/this-file/-/this-file-1.0.0.tgz","fileCount":9,"unpackedSize":4131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrxigCRA9TVsSAnZWagAA2JMP/1lJGz7ggNNq+d4l4G0E\niQWfGL6plgk2iI3YTed7Bge+ULDVp68lLburpowNstrFfWA2pAcIUN5CUl54\nlwMKqhFHTGQ0+jDef4zcLXAat0o1ODQr8QHZH0WwEDA4zdzMWtHaU6oYVx0Q\nm8fUphbiOYeHOpoiIRLZNn/58AVBpij74XKsmxwq1dwCiZna7EMWbLbZLmsO\n9GALL6QDXAlZOW5ORaNCePOvVXqGeUic+FdaKVLC45L3zqD7Vuxcjb9QJt8Z\ni6xfSCJoC1bO9W3Mq1CEot4TJysSKa863XXUtrkvjroIw2DToxcQplAwnCBs\nA50vNsxIcAQwOH4S5IrnKfu1lXCmbFaQ0kHpPDEQJ+tPfTcjm8YA2M+m7M3X\nipDA/qZNpNC/T5CKhjaXVz2JD+k7KnqXo7pGXa22opTLh1X4pDpPJ9F7/fPn\n6qoJLBR5fwS8dknDgqQQDAZpXTa9lfMr7+96J4k8yO+JR8GrTw6mm8rYgWWc\npL9UCLneYo+xBv+RyWewWcEG/UkmrI+37X5LtBGDamcn9uzVRVZndo/sdCnT\nVIQDSvlSdxc2Lm4mvkm8c6Tcm20fb91idYTRx5wg0PifX85+91QGQs3eJwOG\nWpm+ggIsdndeF/8/3vVesIO3F6RAEuD3nUYi+DmF/8G46vSmP8TMQNsbxdME\n83iS\r\n=pfVE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAyW2gFuqve6j/cAaF5bU6v8pSFM17zQEj29nPj8TAh4AiEAiOI2Wzbb00s9u2P93FRguFWft4m51yt8gcs2n1k/lB8="}]},"_npmUser":{"name":"fwh1990","email":"531362022@qq.com"},"directories":{},"maintainers":[{"name":"fwh1990","email":"531362022@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/this-file_1.0.0_1622087840286_0.403459194249322"},"_hasShrinkwrap":false},"1.0.1":{"name":"this-file","version":"1.0.1","main":"./lib/index.js","module":"./es/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/fwh1990/this-file.git"},"author":{"name":"原罪"},"license":"MIT","exports":{".":{"require":"./lib/index.js","import":"./es/index.js"},"./":"./"},"engines":{"node":">=14.15.0"},"scripts":{"prepublishOnly":"ts-prepublish","test":"sh ./scripts/test.sh"},"devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.3.1","jest":"^27.0.1","ts-node":"^10.0.0","ts-prepublish":"^2.0.0","typescript":"^4.2.4"},"gitHead":"3d940e0d7ad2547acbdbfe8406071a53e8714b38","description":"If you are a author of open source repository, you may want to support both commonjs and es-module for users since it's a confused period. It's hard to use `__dirname` and `import.meta.url` in one file specially for typescript project.","bugs":{"url":"https://github.com/fwh1990/this-file/issues"},"homepage":"https://github.com/fwh1990/this-file#readme","_id":"this-file@1.0.1","_nodeVersion":"16.1.0","_npmVersion":"7.11.2","dist":{"integrity":"sha512-g1muZkbo2FcIVN4HaSqigKwV819u/8vtT0+gRmZ8CpTDW6VGRrQbniKO7FHw6WscwNrJYqJ9NFjVdOlVs1GrZA==","shasum":"74f53619cfb29c188bebf6f16d2ec648ef5d3b00","tarball":"https://registry.npmjs.org/this-file/-/this-file-1.0.1.tgz","fileCount":9,"unpackedSize":4881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgrzU8CRA9TVsSAnZWagAAKR4P/0XZ10LAa/SJrT9q9ngW\n9jrSorzB9kYqXCHYIDWcoDocBmioE+KityHbiKvzsigCN0j6hmrUOkMGlDIc\ndniVlI8qSgaiyKWogc0uhtGyHuTBtf6OXzf6Cl87Y0n5yO3CuqtALmPjyqeg\nPA+UrST2kdEUx25l/d1GzFS6EZW3Vm1fBcGxqkl/kp8pFAUGURp7GEG9PNVj\nyu1K5t9eGe7qqzpiIo4M2atC1/MThC3D1MtAWubFjPrf5nmz5yEgn0dP+2qb\n5LFfzc+56/hJrPQul13NclWbm3wrDrxbpt3XUByV4atCearqZjjeBqqgm0j6\nzs7mISmssgksddMm8ovAfSyxKP61lsmaXz7u/9m2JmL+tatHtmwKUFoQSc9F\n/GnYh6s0GzsTRlIVh99Gp11v1o4cppmOqrr+xm7M18LFaRYD9F/Aefsgw3co\nqoMe8P3Ib7jHb9DuTsIFAlC1/lMNFoeXRJPAqMUuERJvGtj1Nyes3XkCadZx\ntqQboqS9gMPgOx5MaRNV/5Op7YEwzD4bLWeA6RgbzXjTz1ibHNz3o8X78NBu\n2vyFA+gEzYbBxNpstj3z55Zg4sGnpKPFUS316n9hyXYdkig0cpG+V5Oj3gid\nnHVwMMaKaZbSPp1qwg/uDzwIrze3SmDxUlH+7tZWCDEHWFAPQeWDmNa55q5R\noy70\r\n=uIbO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBSY28ofWT2o6SHvNKqp1B0K3hl0BccCvbxVN8bc7hT4AiBEQP5y2cpGhCmmbEMO7aNK3LbTe0W2iMuOdnHGvqOvOQ=="}]},"_npmUser":{"name":"fwh1990","email":"531362022@qq.com"},"directories":{},"maintainers":[{"name":"fwh1990","email":"531362022@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/this-file_1.0.1_1622095164428_0.2934158922905368"},"_hasShrinkwrap":false},"1.0.2":{"name":"this-file","version":"1.0.2","main":"./lib/index.js","module":"./es/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/fwh1990/this-file.git"},"author":{"name":"原罪"},"license":"MIT","exports":{".":{"require":"./lib/index.js","import":"./es/index.js"},"./":"./"},"engines":{"node":">=14.15.0"},"scripts":{"prepublishOnly":"ts-prepublish","test":"sh ./scripts/test.sh"},"devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.3.1","jest":"^27.0.1","ts-node":"^10.0.0","ts-prepublish":"^2.0.0","typescript":"^4.2.4"},"gitHead":"444e5154d41c8e74747f4f80146d51d7267cce42","description":"If you are a author of open source repository, you may want to support both commonjs and es-module for users since it's a confused period. It's hard to use `__dirname` and `import.meta.url` in one file specially for typescript project.","bugs":{"url":"https://github.com/fwh1990/this-file/issues"},"homepage":"https://github.com/fwh1990/this-file#readme","_id":"this-file@1.0.2","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-R6iDV+90T2WUMPZrXscGI/ocn79dLvhrvbEESEZ1yfj6+O12bYx7Eu3/BnB9xdHEQjtZNip4BFbd9hdlNSQg0g==","shasum":"f415913e864f273c04d5bb030abb105677ba9920","tarball":"https://registry.npmjs.org/this-file/-/this-file-1.0.2.tgz","fileCount":9,"unpackedSize":4868,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsKgWCRA9TVsSAnZWagAAjWAQAJgMRuxkUO0JXTTdS69w\nFE/ECxqjtwiXHBmPVWz7WmieUDrun2atdoApEr6xH4UcNcIsCuVp4PqngUZG\nC0shejMwKklkmQqsRPyTKk60QwuBH3r0jSt22397Vr7tBUCFnCWSDUzfmzx+\nF0tY3I/IPhTXzOEPOcemyGYrKLHS+CO+woc5DFvwrt5E84WbkgaWSdj2XafA\nrzYLT2EsMuGC+g4glZLcb3k8yOlWhYbe/QEJ8GjtfbjP1Q46vt2YK2NlynWx\nrzcqiTZGHsStWX/RFXUSD7LY3/qsppDxbhyhk96i+My1scM4UsILH0cDOH6u\n27Bi3W7wORV/nDNmx+xxC4IVhLhr4K/FV7mmCAzgmMebk8ZN/tjs8ShRXrGU\nZyNem9TlFHBVnzQVInxMamLQ/kIt5lc8FWqSlr9v2mtjoskjI9j9VKdD6yqE\nX17KxOf0id3n80mJ2qFopmjcA01yB11sJ10LY1XFaAIEEjXFx7opjPNGWWAX\nA56bqHe9uSqtNu4z0SUGqbRrmrj8m2cco0LjE98jmM6X/Ap//PdCA19Gy/HI\nye6sKootPU8jJ1fBqYL2tM48Dq2i58CJiB2T/YELcc5eIlEYDNVFE17h09hd\nKAHgCAs7QgVHR4+CULxYqKLVfWJxwDvUHk0lEwTD8Wa1AcyzCzLWygOaxL6R\nKjAb\r\n=29sX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNBBdapu+9CbBJDvKfJ9IapgbwAWUEsVzI9HqPzue1cAiAisKo4CROcNnGtlmdk6TUYRsxWqZlP65s/UZj6ZkRkWQ=="}]},"_npmUser":{"name":"fwh1990","email":"531362022@qq.com"},"directories":{},"maintainers":[{"name":"fwh1990","email":"531362022@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/this-file_1.0.2_1622190102004_0.2994332980044956"},"_hasShrinkwrap":false},"1.0.3":{"name":"this-file","version":"1.0.3","main":"./lib/index.js","module":"./es/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/fwh1990/this-file.git"},"author":{"name":"原罪"},"license":"MIT","exports":{".":{"require":"./lib/index.js","import":"./es/index.js"},"./":"./"},"engines":{"node":">=14.15.0"},"scripts":{"prepublishOnly":"ts-prepublish","test":"sh ./scripts/test.sh"},"devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.3.1","jest":"^27.0.1","ts-node":"^10.0.0","ts-prepublish":"^2.0.0","typescript":"^4.2.4"},"gitHead":"c3d943bba293e43c7adab2bb84bf1b56c269c090","description":"If you are a author of open source repository, you may want to support both commonjs and es-module for users since it's a confused period. It's hard to use `__dirname` and `import.meta.url` in one file specially for typescript project.","bugs":{"url":"https://github.com/fwh1990/this-file/issues"},"homepage":"https://github.com/fwh1990/this-file#readme","_id":"this-file@1.0.3","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-pOAOxYVaOwftLNwb7YoenqJAehf/SbbwqquyrWNsZE5Yrmbxiz93h0uwzVbw1a/bvkv8bJgdc/it1arRUZBjTQ==","shasum":"6791ec38b3bbbe6da01c09f5ec9f740c19ecaa34","tarball":"https://registry.npmjs.org/this-file/-/this-file-1.0.3.tgz","fileCount":9,"unpackedSize":4878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsK8nCRA9TVsSAnZWagAATGUP/Rg1RRSay+TTsJESTnx0\nxtE7itf4ZD1OzoKp770GJ/HkAQscZELB7u8Hco4LMXi1Vjc9rMIAm4YyAH2y\n3I19QekgTnDQwIdjFnwIFlDxXfc8m4r+XbkOgZzH1bzaIQxGmnidxd2s5kl4\nO9DEaYcB17P38WlyuzROPlvADoEoBe6Okw2lUqQ4SdfPJL1tKtzjL3rpSkri\nAFDBKz3N+4de6pyUS9I+A07YtyN8fgjet0RO9yG49WF2x80EImK5tiOu4ukQ\nZrsW1/p+57bW21g85fiG3QShH0/WSJJp8MwnLvqn9sldb+k71qGLPcylOkdN\n9VDdWzeaBZo+9+biBWJCUtJiTlLcMbVLPtKxsEeUzDnJYGfRusk71Ar8b6g6\neCeSA7vPE890C07YiIo1ULNx1t7BXDajRgS5lY9/PujdDJg90P9my04UICuT\na9nobsVCgjw603RCqyxd5u+cAK7OKv3VzwLV1e6bmACaAQSzPkoEoD2GFjwQ\nxZpkiax2l7Ia0aaZB0eBDTyNU6aGHbLwKaY470YnUeHH5WS1PSzRD4loZ82y\nbsBbXVD5NaH/k6cXid9qDQyjjSaoU50aJBllHrRpjiI+dxp52W5UWI5dV7Ef\nbDz7G3/P4Tucj8mz6oMZzduy0GPc1Z6FQB3Rt3ufQIxQ4ru+3KDrK2SXarot\nOfBf\r\n=XlAW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5KuhbWbG4NfqOIuFuyEwFij39RKKLO+bp3eRyzlvVNAIgP3r2NBAIkPfU+hOYrmfC/5mr9SrEbiscNu54TJBtcfc="}]},"_npmUser":{"name":"fwh1990","email":"531362022@qq.com"},"directories":{},"maintainers":[{"name":"fwh1990","email":"531362022@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/this-file_1.0.3_1622191911475_0.10845239739460588"},"_hasShrinkwrap":false},"1.0.4":{"name":"this-file","version":"1.0.4","main":"./lib/index.js","module":"./es/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/fwh1990/this-file.git"},"author":{"name":"原罪"},"license":"MIT","exports":{".":{"require":"./lib/index.js","import":"./es/index.js"},"./":"./"},"engines":{"node":">=14.15.0"},"scripts":{"prepublishOnly":"ts-prepublish","test":"sh ./scripts/test.sh"},"devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.3.1","jest":"^27.0.1","ts-node":"^10.0.0","ts-prepublish":"^2.0.0","typescript":"^4.2.4"},"gitHead":"a92127609a71cd4ddc2322483498b6bf41053e9a","description":"If you are a author of open source repository, you may want to support both commonjs and es-module for users since it's a confused period. It's hard to use `__dirname` and `import.meta.url` in one file specially for typescript project.","bugs":{"url":"https://github.com/fwh1990/this-file/issues"},"homepage":"https://github.com/fwh1990/this-file#readme","_id":"this-file@1.0.4","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-jibXPWQ83Z15uGy7Wxg+clY/8lkJx/caD9zF2Ufjpjq1OeuSPNQHmXyvYY5P7vLHWISZemPS1KCP6sCu/S/TLw==","shasum":"582b95c788be626e0698e7b9b6448dffadb666e5","tarball":"https://registry.npmjs.org/this-file/-/this-file-1.0.4.tgz","fileCount":9,"unpackedSize":4884,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsLAVCRA9TVsSAnZWagAAAeEP/jV57NzKtcJuELaIMXuO\nvIy2814W+rsz5DomdZPvbKuGVwqcxEnCi2edeQtVcSlRYQaHZFo0IwErzUBF\nCprwpz4MmxJDP7BYMnvz8Oh7n5euzBO1KuRsTs1/yrWlBszp8V5FkG0IAFQm\nNhS7kFpGXCpkUULUO4u9cdnef1QadWHzlJdd95iYsugGT39bPvdiiPlPwhgJ\nafJbVfQ30fM6n5t/QmaTBXi90tMVxLq7PvzImPwUZ94hpj8m3j1FAS3mYVD8\nuOk9vVTYwh7lDqBJAZsYlABoY4gxjSn1I204akRrjwbHqJqvcY7xZHhQvl9k\n8EK97anDW5Q9DtPhO/QP0wpHwNxip1A4PH0lOz2uqqKxZSLMhBdKeEImYoMT\nD99+5+vgIC+LhTqR/N/UAGmTPmFnN6XD9vKo45XDZNnHAYG4gheLrUgRgJpk\nkYHrEtbdMMM9mOqxUAHfzTAY43i0Ipawyz1BzRsu2Dcunci8E37DiPVMX55Y\ne6BkwsuwjcGRGyjM04eqbaA2Q+JmaSA4a/tyVBJdNFYysG2JbfQk/PzZVoS6\nlaA5xDvh6O0meWORXph0BUo4QMCc6G2V1Po/7tIT0gkz8qPj3vJGBM4XZj1B\ngY9ZG9Bx4HfrN7j68Jselw+MW7dM+UvHqlWBZNxxgeOTcQ1yqn+KDYmWccZK\nXGHF\r\n=MDG4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnK2fyDXt926RUpF0JxwFhLNW99gULJBB2EM1JdSMs4gIhAPhoIr/lEE2XPMsaqU41tahQjPPeWJBg5qRETmfLKGza"}]},"_npmUser":{"name":"fwh1990","email":"531362022@qq.com"},"directories":{},"maintainers":[{"name":"fwh1990","email":"531362022@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/this-file_1.0.4_1622192149435_0.8646401236500432"},"_hasShrinkwrap":false},"2.0.0":{"name":"this-file","version":"2.0.0","main":"./lib/index.js","module":"./es/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/fwh1990/this-file.git"},"author":{"name":"原罪"},"license":"MIT","exports":{".":{"require":"./lib/index.js","import":"./es/index.js"},"./":"./"},"engines":{"node":">=14.15.0"},"scripts":{"prepublishOnly":"ts-prepublish","test":"sh ./scripts/test.sh"},"devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.3.1","jest":"^27.0.1","ts-node":"^10.0.0","ts-prepublish":"^2.0.0","typescript":"^4.2.4"},"gitHead":"70cfc8d8ffe9a3dd8ca31862226445464def2f5c","description":"If you are an author of open source repository, you may want to support both CJS and ESM for users since it's a confused period. It's hard to use `__dirname` and `import.meta.url` in one file specially for typescript project.","bugs":{"url":"https://github.com/fwh1990/this-file/issues"},"homepage":"https://github.com/fwh1990/this-file#readme","_id":"this-file@2.0.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-WpraZCarzf9hA5LwFQG+ZwN2nRm6lY60B5sMpZE2IJdlI0otERalT/uDRpHHwkKWnLNjgifPmS6EAbD+jZaeBg==","shasum":"c3a83ff85c2a443a0bf5ac0f7d6325d09e7aaecd","tarball":"https://registry.npmjs.org/this-file/-/this-file-2.0.0.tgz","fileCount":9,"unpackedSize":4872,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsZ9pCRA9TVsSAnZWagAA6oEP/iMuEPYH5c3+MparWEge\nz8AJ/899aSTrOGRGiUkdrKXn8I2aKnKdIabRum4O6X++fhX/Ook70UNPCR3I\nOdwg1ijtLJizdYFvCF5E32TYBa4XbXLe1B8WnJ7I6WXmrHta5P2+e5Ol5rFl\n7ZJ4CyaECYGJMJ+5ejXwBpXus856uvVHAv2aSjSbAzSbH9gxnDlNaNHRTW37\njFP8EnJ0U0iZYb/zrIMdVU2TkLht1xpqNaDVWIWQ9z6toi2a4KfeuIFFQDaL\ngsazp7jZrgRaxPE9cU8s+7+iQdCkow4xFdqiJD3eftSvV/xLtHQms4mQ5kqd\nyo4ISg9NNnrVOai1MtD63Mc2sVJQmCSm3XxGSi0eAHli2EDYtPDZfpmFC0Ow\ns6AIjp4Goi1w9SDH78rbiwiyEn/tTIy6Qf8FUiCIzrvE2eQ/7yQzimkc/Yb4\nAWS96RKzyYo36Wo079gqIC64guTSF1DF7QXsgY1y8Ct/tbYCkvqRR7V/JBLH\ncdAftGVhHyG+YE5jbZMgYeB+GWl5+dgr4QVZqaVhoWLqgnnRQoqZ8LsB7x0/\nPC0LAePvrV4nwtb9+LhbbfCcXQMN6bDIsaTNDRo6B/z7JfPBGEfwR4jh4JlJ\nxlsql8/KLah9M2O825fPwgmEltkDaP5Xod80MnAUnkjbaO4fKSFz1crcuFVz\nHqCE\r\n=fXlc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCG4na1rXI6VWeBA56bCOKXYLzVFasfDAma7Kh2qKrG4QIgMdjeR+99afZryOevOHvaZQ0epMuArYWXdiw8eOzYzOc="}]},"_npmUser":{"name":"fwh1990","email":"531362022@qq.com"},"directories":{},"maintainers":[{"name":"fwh1990","email":"531362022@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/this-file_2.0.0_1622253416616_0.7285767978816995"},"_hasShrinkwrap":false},"2.0.1":{"name":"this-file","version":"2.0.1","main":"./lib/index.js","module":"./es/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/fwh1990/this-file.git"},"author":{"name":"原罪"},"license":"MIT","exports":{".":{"require":"./lib/index.js","import":"./es/index.js"},"./":"./"},"engines":{"node":">=14.15.0"},"scripts":{"prepublishOnly":"ts-prepublish","test":"sh ./scripts/test.sh"},"devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.3.1","jest":"^27.0.1","ts-node":"^10.0.0","ts-prepublish":"^2.0.0","typescript":"^4.2.4"},"gitHead":"1e71e448d39c7d0e1d2d7804368cf39d15713730","description":"If you are an author of open source repository, you may want to support both CJS and ESM for users since it's a confused period. It's hard to use `__dirname` and `import.meta.url` in one file specially for typescript project.","bugs":{"url":"https://github.com/fwh1990/this-file/issues"},"homepage":"https://github.com/fwh1990/this-file#readme","_id":"this-file@2.0.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-XfBBjd1bdlfd7WVb+eUajPAhFzUfecg+MKHQws7ojEoudg1jdt1RfCxWL4G9qfWJZH3diztT5JAQhnBJnpLh3Q==","shasum":"48c4327fa347aed39b0fe58ad026c3bbce2d8f72","tarball":"https://registry.npmjs.org/this-file/-/this-file-2.0.1.tgz","fileCount":9,"unpackedSize":5053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsaKYCRA9TVsSAnZWagAA7/gP/0DbDlnX6lWdniS54uCn\nYx5HZ0HDlXb3VQ3H+2rk+2RcFpdw6DWukPnkDAXkiYZR9dFKQAKWdZvJYTyN\nZD/xW3BgQlL7P1iwaoeydbClUMkiyq1QfJEKiaOBSgvoo4atcBoSBq13KFze\nEaaXXmKU/8b9fveLfF9dmAny3Hv15PzJ/Rrjiz4g1Ye4TnSPGdO4sH6HrNPS\njqhZE0KjFv5Kc+AkJb36zdEAmxlP9DLLAo3kHJwC5K8QyOjD3p5DW8o2AuTf\nHtyG59HMcoro9VXq7lmlFDNuZyjsKDxbKhzY7nx/BLa1Ble70QLN32793WEi\ncBotUAhUalfuKy9gUqrJt6IuFsvW72K0sLYSPPlvE22hdrWAjZYJAUKRCUEM\nuSK2eWDp3MsZkNQz1CDLSW8eB9xLh6wZxyAO7MRCLN2cJfOuNPOSOhiqEghX\nNBYt56lWovYuDtbo0SVNMdBZWWNStIuq0U0kz8iat6ib4y9DYlKxPi4dyAXp\n8MSOwZay3BOVwL6x62FFWv1nVu8dLKd+JS5SBb6hJN/I1NC1HyES+tslHflV\noV6UDMwicZJpme7bEuAC19pPWgcqKcOefY6Sg5spbBvxWvLNtaqt1pz6fQeG\neAv3hNJL286GCK44RhIGnjtU6A9LLJ0HXwgcwjP9Ir62LZXniwbmZAcPcql3\nEsYO\r\n=23cQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBz2BN1GDCBVdGOoROqOfFfoXQq1gNS2I2nnmabRm7MFAiA/OHW8WHiOFUWbbOgiXLxpI0ZlsmVRqnY+BlmD9xfWUQ=="}]},"_npmUser":{"name":"fwh1990","email":"531362022@qq.com"},"directories":{},"maintainers":[{"name":"fwh1990","email":"531362022@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/this-file_2.0.1_1622254232307_0.20656658607731915"},"_hasShrinkwrap":false},"2.0.2":{"name":"this-file","version":"2.0.2","main":"./lib/index.js","module":"./es/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/fwh1990/this-file.git"},"author":{"name":"原罪"},"license":"MIT","exports":{".":{"require":"./lib/index.js","import":"./es/index.js"},"./":"./"},"engines":{"node":">=14.15.0"},"scripts":{"prepublishOnly":"ts-prepublish","test":"sh ./scripts/test.sh"},"devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.3.1","jest":"^27.0.1","ts-node":"^10.0.0","ts-prepublish":"^2.0.0","typescript":"^4.2.4"},"gitHead":"0ee2dce8f02ebf8cf1ed560bd10709f57b89e988","description":"If you are an author of open source repository, you may want to support both CJS and ESM for users since it's a confused period. It's hard to use `__dirname` and `import.meta.url` in one file specially for typescript project.","bugs":{"url":"https://github.com/fwh1990/this-file/issues"},"homepage":"https://github.com/fwh1990/this-file#readme","_id":"this-file@2.0.2","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-JUNkmS0so8PcKyDgzrUWUPllxqhJ3JcGpjgMRR4DW+z6qkvvQ1ce7xyTGkI7lBR+vemyH9pr8beDTkPyZQJFlg==","shasum":"745a9ef09d12ff03565636eb5328df1ca25c3137","tarball":"https://registry.npmjs.org/this-file/-/this-file-2.0.2.tgz","fileCount":9,"unpackedSize":5069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgsaTJCRA9TVsSAnZWagAAuAoQAJu6rEFBujRMURtT0yxB\nuR8YBU3kVzZgtOnLblXf48wbcTPlDpM2XJl/kbFKbPDJTHgxN3ZnxLrg888/\n0crHGOKLYwkuFTo4Z2HSsoHb3mQ+/4Ol7gDO+zrzX5GFRexfdqZ/Zah5codV\n3sJb4LrFlfzZ8iFFzCA9nMI5mZnv/Xv3eI4NZXOd5LQG7prxfo9UXF+7Wpng\n3NqZrs2E5NPoWHdEFMK4Qw7gerY3ucxHwKl3aw+PmI1KMbL9ZPMMNeeiiNuW\nRjS5bCKs5lLWGaP8nvujL5KvvzGp9KrfzauOnkMpmsv3Xj58dj0tRJRMuwin\nGR6WNxaiBAqS8+zre5rajWPdTfjiLc/gHVKPBBbDQQVW6NPcDuou5BhbV19g\nVx2POieBxgqYGpoyHgrbYErtvZIMlchwObK8XOtGgSSrYjoD8V4dK+ZiekZT\nYhmVuxPihZjOeLYQMcqVpBpn6hOUjt9j472KUVnA53JXbb6Aw3D7higdHsPK\n+gP1wnn47OugGPjE4W3F+xv7f6D2oU0j2ZvyME4hCYSC1b6g48hqu0ECRxg2\nP4Q+Ezr6dpCBhOYzv/OOZDG46YDf2wN0eaTkEkcqe78Tbh+gU3DNac3iGtaJ\nsVt48HYsiD6Et740uASlXg1HcDIQ6quXH9CA6FwCJWTbrAYW+nBFZzX8y2K1\nyVex\r\n=fwru\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrZHd7Us3yBh3Ua05H1Rp++1QZtU7nby6p1dQkH91a/AIhAMRoGmE5ElXN7v9IPdZDICTdlRCNh/2+qnnDUJPkKpnY"}]},"_npmUser":{"name":"fwh1990","email":"531362022@qq.com"},"directories":{},"maintainers":[{"name":"fwh1990","email":"531362022@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/this-file_2.0.2_1622254793573_0.4463356817678632"},"_hasShrinkwrap":false},"2.0.3":{"name":"this-file","version":"2.0.3","main":"./lib/index.js","module":"./es/index.js","repository":{"type":"git","url":"git+ssh://git@github.com/fwh1990/this-file.git"},"author":{"name":"原罪"},"license":"MIT","exports":{".":{"require":"./lib/index.js","import":"./es/index.js"},"./":"./"},"engines":{"node":">=14.15.0"},"scripts":{"prepublishOnly":"ts-prepublish","test":"sh ./scripts/test.sh"},"devDependencies":{"@types/jest":"^26.0.23","@types/node":"^15.3.1","jest":"^27.0.1","ts-node":"^10.0.0","ts-prepublish":"^2.0.0","typescript":"^4.2.4"},"gitHead":"4d11887c8255600654b01d4f4e1236cd7eb0d764","description":"If you are an author of open source repository, you may want to support both CJS and ESM for users since it's a confused period. It's hard to use `__dirname` and `import.meta.url` in one file specially for typescript project.","bugs":{"url":"https://github.com/fwh1990/this-file/issues"},"homepage":"https://github.com/fwh1990/this-file#readme","_id":"this-file@2.0.3","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-IdMH1bUkVJdJjM7o8v83Mv4QvVPdkAofur20STl2Bbw9uMuuS/bT/PZURkEdZsy9XC/1ZXWgZ1wIL9nvouGaEg==","shasum":"13bd2bcfbab2ce86a37a15689df1d14861032b1b","tarball":"https://registry.npmjs.org/this-file/-/this-file-2.0.3.tgz","fileCount":9,"unpackedSize":4975,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgwFv7CRA9TVsSAnZWagAAQZ0P/iQu9JvGqQF1PLlkK4cq\n3qatoODNUhd1r+c0mheKK6d0jFn23mtXKErzkbOT3Y0YgciONUyDDKzv+4e2\nx3atnm2rFb/sNmWhvTIvRwxH7DzQAdUE3/gskU2dEV2pizBBKS/7lCeVuz4X\neKSCdin5ipIhRsXZBVV8qW7eXAjX7j3UFdDcF6+w2IJ7BYM9DpgE5MKympqX\nCmV6SpV8+YzE/q+riC6zZqaY2rMTN4AZ+N66b5qEEwGzCWMFYExDMQxExSpn\naDu6fE5+nhB+BLLvgWgsP1a8pJ+OP0OYR7cspfJkZ8z0jY1ZiMqm3htSIGtB\nv0m9NDsOOHEVoQ7MhzcWIMMCcjT6J94G/AnjXzVBVlHkRd4u6VuJ931fFPcz\nKmrVOYdHyz9pojwONoRzL/39uFdR1xG4Zo/PuopU/gTAzG5zK2JMCHyHj3a0\nRIW+Zdst6b6vu3nT+0SM58ncy07wWtw9munaR0EaZU+t7V6c/SJinV/oPMOa\nmu6f9zZzwQ5XVR5gPPfmcIExa7XbBnwqJtu7KDp5zE/UqGTXZDslyn8PnJsP\npQVMolZAUo5HlXM87eujXyH7ZD3++wDxDl+1FfOVQ+blgtWMi4pRZv4g3nBR\n/iZyTfhpkKR7vyzso0clphlquhzn+bvGoDy4oVCDG02ETy4ePmhFRH3CVF4B\nNnzX\r\n=Q97z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8qEzBuFfnJnADIrZhJR9d7QM+pohRLdY9f4WXZZvPyAiEAlWGh6B2VIP3EXBIhtyjBFls2QE8PY4UnBXSyY/8aqk0="}]},"_npmUser":{"name":"fwh1990","email":"531362022@qq.com"},"directories":{},"maintainers":[{"name":"fwh1990","email":"531362022@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/this-file_2.0.3_1623219195311_0.7291134108272623"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-27T03:57:20.286Z","1.0.0":"2021-05-27T03:57:20.468Z","modified":"2022-05-21T18:43:07.047Z","1.0.1":"2021-05-27T05:59:24.564Z","1.0.2":"2021-05-28T08:21:42.271Z","1.0.3":"2021-05-28T08:51:51.707Z","1.0.4":"2021-05-28T08:55:49.681Z","2.0.0":"2021-05-29T01:56:56.753Z","2.0.1":"2021-05-29T02:10:32.462Z","2.0.2":"2021-05-29T02:19:53.682Z","2.0.3":"2021-06-09T06:13:15.468Z"},"maintainers":[{"name":"fwh1990","email":"531362022@qq.com"}],"description":"If you are an author of open source repository, you may want to support both CJS and ESM for users since it's a confused period. It's hard to use `__dirname` and `import.meta.url` in one file specially for typescript project.","homepage":"https://github.com/fwh1990/this-file#readme","repository":{"type":"git","url":"git+ssh://git@github.com/fwh1990/this-file.git"},"author":{"name":"原罪"},"bugs":{"url":"https://github.com/fwh1990/this-file/issues"},"license":"MIT","readme":"# this-file\n\nIf you are an author of open source repository, you may want to support both CJS and ESM for users since it's a confused period. It's hard to use `__dirname` and `import.meta.url` in one file specially for typescript project.\n\n# Installation\n\n```bash\nyarn add this-file\n```\n\n# Usage\n\n```typescript\n// In per file\nimport { createContext } from 'this-file';\n\nconst context = createContext();\n\n// CJS\ncontext.filename IS __filename\ncontext.dirname IS __dirname\ncontext.require IS require\n\n// ESM\ncontext.filename IS url.fileURLToPath(import.meta.url)\ncontext.dirname IS path.dirname(context.filename)\ncontext.require IS module.createContext(import.meta.url)\n```\n","readmeFilename":"README.md"}