{"_id":"tshy-after","_rev":"1739691","name":"tshy-after","description":"Auto set package.json after tshy run","dist-tags":{"latest":"1.4.1"},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"time":{"modified":"2026-11-17T03:45:21.000Z","created":"2023-09-17T03:18:43.679Z","1.4.1":"2025-02-02T04:59:44.052Z","1.4.0":"2024-12-24T12:54:39.117Z","1.3.1":"2024-12-22T15:01:45.627Z","1.3.0":"2024-12-22T14:57:03.038Z","1.2.0":"2024-07-08T05:10:13.451Z","1.1.1":"2024-07-07T06:01:22.145Z","1.1.0":"2024-07-07T05:49:04.968Z","1.0.0":"2023-09-17T03:18:43.679Z"},"users":{},"author":{"name":"fengmk2"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/tshy-after.git"},"versions":{"1.4.1":{"name":"tshy-after","version":"1.4.1","description":"Auto set package.json after tshy run","bin":{"tshy-after":"dist/esm/index.js"},"scripts":{"test":"tshy && egg-bin test","ci":"tshy && egg-bin cov","prepublishOnly":"tshy && node ./dist/esm/index.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/tshy-after.git"},"keywords":["tshy"],"author":{"name":"fengmk2"},"license":"MIT","bugs":{"url":"https://github.com/node-modules/tshy-after/issues"},"homepage":"https://github.com/node-modules/tshy-after#readme","devDependencies":{"@types/mocha":"^10.0.1","@types/node":"^22.10.2","coffee":"^5.5.0","egg-bin":"^6.5.2","tshy":"^3.0.2"},"type":"module","tshy":{"exports":{"./package.json":"./package.json",".":"./src/index.ts"}},"exports":{"./package.json":"./package.json",".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}}},"main":"./dist/commonjs/index.js","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","_id":"tshy-after@1.4.1","gitHead":"b06d9c8bfdf7052ae9280452c154ed42696f1794","_nodeVersion":"20.18.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-EVUiYSR59AGOy8I8eElVYKlR5bK/7ufAOv3H190HNu3sc9f3CP6Dn5QQfPIYzvg3kCt88NkTwx7n+xR8AQCCmw==","shasum":"5278148a1bc175538bdde21274200c1a57623c4f","tarball":"http://registry-npm.ywwl.com/tshy-after/download/tshy-after-1.4.1.tgz","fileCount":11,"unpackedSize":28747,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tshy-after@1.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFJxrlc0+/qnvrdTUKe2g9HlZIz4EJgPk2LPsxQ3pTfZAiALKPA/nRmvtaTl6diI/TfGkAJLuRrWu9mIHS55Vipxyw=="}],"size":4882,"noattachment":false,"key":"/tshy-after/-/tshy-after-1.4.1.tgz"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"directories":{},"maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tshy-after_1.4.1_1738472383887_0.1657421489366091"},"_hasShrinkwrap":false,"publish_time":1738472384052,"_cnpm_publish_time":1738472384052},"1.4.0":{"name":"tshy-after","version":"1.4.0","keywords":["tshy"],"author":{"name":"fengmk2"},"license":"MIT","_id":"tshy-after@1.4.0","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/node-modules/tshy-after#readme","bugs":{"url":"https://github.com/node-modules/tshy-after/issues"},"bin":{"tshy-after":"dist/esm/index.js"},"dist":{"shasum":"fe8273f4ea4f38acbe620f68fabc1b21657a80fe","tarball":"http://registry-npm.ywwl.com/tshy-after/download/tshy-after-1.4.0.tgz","fileCount":11,"integrity":"sha512-2qT2LHltIS0BAqoo1F3nwwjc6VujiIp0yodnOflalDEbH4yUA5Cr0Nezy88D87YysiaE/wtqxfB7JE9j+9I9Wg==","signatures":[{"sig":"MEQCIGqXUCpxfNsaM62P1kj1Nl9dBQ4AYSiVn/Q2B4mQYqf8AiA2JbGUSmm9PPJVZnRG4wWO2fYhlIMNOaDcmzN3vJ8JRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tshy-after@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27595,"size":4803,"noattachment":false,"key":"/tshy-after/-/tshy-after-1.4.0.tgz"},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"e2321c7ddcdb463b7cbcb533633c103d9187642b","scripts":{"ci":"tshy && egg-bin cov","test":"tshy && egg-bin test","prepublishOnly":"tshy && node ./dist/esm/index.js"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git+ssh://git@github.com/node-modules/tshy-after.git","type":"git"},"_npmVersion":"10.8.2","description":"Auto set package.json after tshy run","directories":{},"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"tshy":"^3.0.2","coffee":"^5.5.0","egg-bin":"^6.5.2","@types/node":"^22.10.2","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/tshy-after_1.4.0_1735044878955_0.9525361216322377","host":"s3://npm-registry-packages-npm-production"},"publish_time":1735044879117,"_cnpm_publish_time":1735044879117},"1.3.1":{"name":"tshy-after","version":"1.3.1","keywords":["tshy"],"author":{"name":"fengmk2"},"license":"MIT","_id":"tshy-after@1.3.1","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/node-modules/tshy-after#readme","bugs":{"url":"https://github.com/node-modules/tshy-after/issues"},"bin":{"tshy-after":"dist/esm/index.js"},"dist":{"shasum":"e3166d00617f96e60ce2f3895591b4371d7fdee7","tarball":"http://registry-npm.ywwl.com/tshy-after/download/tshy-after-1.3.1.tgz","fileCount":11,"integrity":"sha512-DXWtoD4o8gqk1t1lub+3cIeMHHIPh2AGGBfJkLyKa2iGOYjXlizxW4Se3qSv7ZdG1q5A/iExg94HnHaUynh9oQ==","signatures":[{"sig":"MEQCIFfA52mjobuPU0dRi7GPnmWatNVrL9/0GknMV6NkiXEkAiANpsNe9/Az54FL3+GUq005lDbCkirt2Hh1Wb7/1kt2qg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tshy-after@1.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":23750,"size":4432,"noattachment":false,"key":"/tshy-after/-/tshy-after-1.3.1.tgz"},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"047ce048f1c7eee88c922d8bb57cddf8b4fb6330","scripts":{"ci":"tshy && egg-bin cov","test":"tshy && egg-bin test","prepublishOnly":"tshy && node ./dist/esm/index.js"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git+ssh://git@github.com/node-modules/tshy-after.git","type":"git"},"_npmVersion":"10.8.2","description":"Auto set package.json after tshy run","directories":{},"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"tshy":"^3.0.2","coffee":"^5.5.0","egg-bin":"^6.5.2","@types/node":"^22.10.2","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/tshy-after_1.3.1_1734879705471_0.2634562782233183","host":"s3://npm-registry-packages-npm-production"},"publish_time":1734879705627,"_cnpm_publish_time":1734879705627},"1.3.0":{"name":"tshy-after","version":"1.3.0","keywords":["tshy"],"author":{"name":"fengmk2"},"license":"MIT","_id":"tshy-after@1.3.0","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/node-modules/tshy-after#readme","bugs":{"url":"https://github.com/node-modules/tshy-after/issues"},"bin":{"tshy-after":"dist/esm/index.js"},"dist":{"shasum":"af6be11079da0481c16a0fc0ce75de4f05b9dd47","tarball":"http://registry-npm.ywwl.com/tshy-after/download/tshy-after-1.3.0.tgz","fileCount":11,"integrity":"sha512-KbQge5miOd5fkoSSHJtKgA3rjAaKskxBq1RnHeiBnr11qsxw4N6q2/L1F+p4YWMPpeSQYI2pQCc6ZOZs4J5Nqg==","signatures":[{"sig":"MEUCIQCkbJ42buUFaG/9nXIpCfNUlyxuX2ZgrKFJhtNOk8XLDwIgfDcAffr+dIEFpnZSKK0DfycnpE8FIz5I5FeRmBkSOFU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tshy-after@1.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24199,"size":4522,"noattachment":false,"key":"/tshy-after/-/tshy-after-1.3.0.tgz"},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"7efc108c3aa1d7206d850a439cf2d92ae90cc15b","scripts":{"ci":"tshy && egg-bin cov","test":"tshy && egg-bin test","prepublishOnly":"tshy && node ./dist/esm/index.js"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git+ssh://git@github.com/node-modules/tshy-after.git","type":"git"},"_npmVersion":"10.8.2","description":"Auto set package.json after tshy run","directories":{},"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"tshy":"^3.0.2","coffee":"^5.5.0","egg-bin":"^6.5.2","@types/node":"^22.10.2","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/tshy-after_1.3.0_1734879422825_0.32038708683713435","host":"s3://npm-registry-packages-npm-production"},"publish_time":1734879423038,"_cnpm_publish_time":1734879423038},"1.2.0":{"name":"tshy-after","version":"1.2.0","keywords":["tshy"],"author":{"name":"fengmk2"},"license":"MIT","_id":"tshy-after@1.2.0","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/node-modules/tshy-after#readme","bugs":{"url":"https://github.com/node-modules/tshy-after/issues"},"bin":{"tshy-after":"dist/esm/index.js"},"dist":{"shasum":"553936d76d3050fdee6234099a78042e20f30237","tarball":"http://registry-npm.ywwl.com/tshy-after/download/tshy-after-1.2.0.tgz","fileCount":11,"integrity":"sha512-V8LkGOyaOieNxoCYPGgQQOMTB1J1JoANnPZjFN7xF1pC5AwTe2kJDouTKRshojWLjT46PZ/9yMDa3UJgc3QQUA==","signatures":[{"sig":"MEUCIQCiuHZCbZGVjN0cRfx0sN+4uGGI1CI6sl+H5seq5XFYFwIgDlcwz+PC3OPpe/gZS7VFEF2LBUkmiRrBeFj2bYVEHAU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tshy-after@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22882,"size":4177,"noattachment":false,"key":"/tshy-after/-/tshy-after-1.2.0.tgz"},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"262e73c219fb5e052d3d20afe24f00b95ed10c82","scripts":{"ci":"tshy && egg-bin cov","test":"tshy && egg-bin test","prepublishOnly":"tshy && node ./dist/esm/index.js"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git+ssh://git@github.com/node-modules/tshy-after.git","type":"git"},"_npmVersion":"10.7.0","description":"Auto set package.json after tshy run","directories":{},"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"tshy":"^2.0.0","coffee":"^5.5.0","egg-bin":"^6.5.2","@types/node":"^20.6.2","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/tshy-after_1.2.0_1720415413289_0.4481713990593812","host":"s3://npm-registry-packages"},"publish_time":1720415413451,"_cnpm_publish_time":1720415413451},"1.1.1":{"name":"tshy-after","version":"1.1.1","keywords":["tshy"],"author":{"name":"fengmk2"},"license":"MIT","_id":"tshy-after@1.1.1","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/node-modules/tshy-after#readme","bugs":{"url":"https://github.com/node-modules/tshy-after/issues"},"bin":{"tshy-after":"dist/esm/index.js"},"dist":{"shasum":"aab8f9ce1a53a4ff220a6666a9d5320bba7b5071","tarball":"http://registry-npm.ywwl.com/tshy-after/download/tshy-after-1.1.1.tgz","fileCount":10,"integrity":"sha512-b3ul13a/OC+KTA4FryWvNfs9P/mDuLDxrT2AT06/tq2iYTWGdys0YsKVt2RcRcud2Ct9RxjnWXqFEhmCX0DtEw==","signatures":[{"sig":"MEYCIQCx/ZSYNr0MOHnvRM0yOAq/M5SqdE8fqg60i0//R/LiDgIhAPAtNASLjn1EWNc+zrMkKVngk+f9TqwrtCFA05UTf/Xp","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tshy-after@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13241,"size":3354,"noattachment":false,"key":"/tshy-after/-/tshy-after-1.1.1.tgz"},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","source":"./src/index.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","source":"./src/index.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"a958c4219ee2b7d5068654032384f64dea68f1fc","scripts":{"ci":"tshy && egg-bin cov","test":"tshy && egg-bin test","prepublishOnly":"tshy && node ./dist/esm/index.js"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git+ssh://git@github.com/node-modules/tshy-after.git","type":"git"},"_npmVersion":"10.7.0","description":"Auto set package.json after tshy run","directories":{},"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"tshy":"^1.0.0","coffee":"^5.5.0","egg-bin":"^6.5.2","@types/node":"^20.6.2","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/tshy-after_1.1.1_1720332081988_0.9709003727654992","host":"s3://npm-registry-packages"},"publish_time":1720332082145,"_cnpm_publish_time":1720332082145},"1.1.0":{"name":"tshy-after","version":"1.1.0","keywords":["tshy"],"author":{"name":"fengmk2"},"license":"MIT","_id":"tshy-after@1.1.0","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/node-modules/tshy-after#readme","bugs":{"url":"https://github.com/node-modules/tshy-after/issues"},"bin":{"tshy-after":"dist/esm/index.js"},"dist":{"shasum":"469600a5c448f4ce45b9d13270ebd6a92c6c889d","tarball":"http://registry-npm.ywwl.com/tshy-after/download/tshy-after-1.1.0.tgz","fileCount":10,"integrity":"sha512-GsbPzVv97QcGKqQuJ1ADszWtKiLysHwG2qquPDjBVqwUUfuSGs0SFZmr6rH9m14wKbk29EIsaiTJCyo+nbFhLA==","signatures":[{"sig":"MEUCIQCzntqF/ixGafabk1fxPdqR19N++zFZ5INy7DK8vMhn3QIgY9+xNUV8F7zYjiHnK1rNvwdaFdyoiHjRBGbdBn3GTFs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/tshy-after@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11594,"size":3181,"noattachment":false,"key":"/tshy-after/-/tshy-after-1.1.0.tgz"},"main":"./dist/commonjs/index.js","tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","types":"./dist/commonjs/index.d.ts","module":"./dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","source":"./src/index.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","source":"./src/index.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"c0070edffddcf4daedd7909a4a32c990bb957ef7","scripts":{"ci":"tshy && egg-bin cov","test":"tshy && egg-bin test","prepublishOnly":"tshy"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git+ssh://git@github.com/node-modules/tshy-after.git","type":"git"},"_npmVersion":"10.7.0","description":"Auto set package.json after tshy run","directories":{},"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"tshy":"^1.0.0","coffee":"^5.5.0","egg-bin":"^6.5.2","@types/node":"^20.6.2","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/tshy-after_1.1.0_1720331344838_0.5056053452926534","host":"s3://npm-registry-packages"},"publish_time":1720331344968,"_cnpm_publish_time":1720331344968},"1.0.0":{"name":"tshy-after","version":"1.0.0","keywords":["tshy"],"author":{"name":"fengmk2"},"license":"MIT","_id":"tshy-after@1.0.0","maintainers":[{"name":"fengmk2","email":"fengmk2@gmail.com"}],"homepage":"https://github.com/node-modules/tshy-after#readme","bugs":{"url":"https://github.com/node-modules/tshy-after/issues"},"bin":{"tshy-after":"dist/esm/index.js"},"dist":{"shasum":"adef666a25bebe7fa649a9d37baeb2aa69603392","tarball":"http://registry-npm.ywwl.com/tshy-after/download/tshy-after-1.0.0.tgz","fileCount":10,"integrity":"sha512-swuLUxPe5cDWecRe1VqXbVrLPuKE2oHQw6/DhD9FsRx72l8ZVTAHxTAXT0fLOD9omm5ATmXI/sOriYWNZVtaEQ==","signatures":[{"sig":"MEYCIQCFXjCZFChx/TOCLdtcdGqL7NCYi1HWP6Mt9TTTiyaWQQIhALUiHRvuthJT+pLw0H5s3xAnDvzWGcMaR4IcIZIrNQku","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5021,"size":2057,"noattachment":false,"key":"/tshy-after/-/tshy-after-1.0.0.tgz"},"tshy":{"exports":{".":"./src/index.ts","./package.json":"./package.json"}},"type":"module","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/commonjs/index.d.ts","default":"./dist/commonjs/index.js"}},"./package.json":"./package.json"},"gitHead":"0d739a5c26e38750abaebdeb0f6db8505972f46b","scripts":{"ci":"tshy && egg-bin cov","test":"tshy && egg-bin test","prepublishOnly":"tshy"},"_npmUser":{"name":"fengmk2","email":"fengmk2@gmail.com"},"repository":{"url":"git+ssh://git@github.com/node-modules/tshy-after.git","type":"git"},"_npmVersion":"9.6.7","description":"Auto set package.json after tshy run","directories":{},"_nodeVersion":"18.17.1","_hasShrinkwrap":false,"devDependencies":{"tshy":"^1.0.0","coffee":"^5.5.0","egg-bin":"^6.5.2","@types/node":"^20.6.2","@types/mocha":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/tshy-after_1.0.0_1694920723485_0.4542372499619045","host":"s3://npm-registry-packages"},"publish_time":1694920723679,"_cnpm_publish_time":1694920723679}},"readme":"# tshy-after\n\n[![NPM version][npm-image]][npm-url]\n[![Node.js CI](https://github.com/node-modules/tshy-after/actions/workflows/nodejs.yml/badge.svg)](https://github.com/node-modules/tshy-after/actions/workflows/nodejs.yml)\n[![npm download][download-image]][download-url]\n[![Node.js Version](https://img.shields.io/node/v/tshy-after.svg?style=flat)](https://nodejs.org/en/download/)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com)\n\n[npm-image]: https://img.shields.io/npm/v/tshy-after.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/tshy-after\n[download-image]: https://img.shields.io/npm/dm/tshy-after.svg?style=flat-square\n[download-url]: https://npmjs.org/package/tshy-after\n\nAuto set package.json after [tshy](https://github.com/isaacs/tshy) run\n\n## keep `types`\n\nSet `package.types` to `package.exports['.'].require.types`\n\n## Auto fix `import.meta.url` and `import.meta.resolve` SyntaxError on CJS\n\n```bash\nSyntaxError: Cannot use 'import.meta' outside a module\n```\n\ne.g.: Get the file's dirname\n\n```ts\n// src/index.ts\n\nimport { fileURLToPath } from 'node:url';\nimport path from 'node:path';\n\nexport function getDirname() {\n  if (typeof __dirname !== 'undefined') {\n    return __dirname;\n  }\n  // @ts-ignore\n  return path.dirname(fileURLToPath(import.meta.url));\n}\n```\n\n## License\n\n[MIT](LICENSE)\n\n## Contributors\n\n[![Contributors](https://contrib.rocks/image?repo=node-modules/tshy-after)](https://github.com/node-modules/tshy-after/graphs/contributors)\n\nMade with [contributors-img](https://contrib.rocks).\n","_attachments":{},"homepage":"https://github.com/node-modules/tshy-after#readme","bugs":{"url":"https://github.com/node-modules/tshy-after/issues"},"license":"MIT"}