{"name":"iterm2-version","version":"6.0.0","description":"Get the iTerm2 version","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/iterm2-version.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=20"},"scripts":{"test":"xo && ava && tsd"},"keywords":["iterm2","iterm","terminal","app","version"],"dependencies":{"app-path":"^4.0.0","plist":"^3.1.0","terminal-query":"^0.1.0"},"devDependencies":{"ava":"^6.4.1","tsd":"^0.33.0","xo":"^1.2.3"},"gitHead":"1f6cf0c0be7d47037bec1542794367c0f5cbebeb","types":"./index.d.ts","_id":"iterm2-version@6.0.0","bugs":{"url":"https://github.com/sindresorhus/iterm2-version/issues"},"homepage":"https://github.com/sindresorhus/iterm2-version#readme","_nodeVersion":"24.12.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-oH14QLmk+49KBsxlVBRe9piHHIY0vn41Mmop/LTzkCMVyGcikhMLJCpbR4LWB+WRdDF1v66u39CuRj+LLfZ9QQ==","shasum":"4672dc0edebcbcabc0305f58a397b6a1e52342be","tarball":"http://registry-npm.ywwl.com/iterm2-version/download/iterm2-version-6.0.0.tgz","fileCount":6,"unpackedSize":4539,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIA2P85vgNI+XVW7gP+6nPpz7yencbEU8YdQuUOZKd2DbAiEA2VpqjyBvEP4119ysbKeZ9UVcyYtms8i5o6BLHMhMi0I="}],"size":2227,"noattachment":false,"key":"/iterm2-version/-/iterm2-version-6.0.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/iterm2-version_6.0.0_1767640822260_0.60090608005263"},"_hasShrinkwrap":false,"readme":"# iterm2-version\n\n> Get the [iTerm2](https://www.iterm2.com) version\n\nNote: The `2` in iTerm2 is [part of the name](https://en.wikipedia.org/wiki/ITerm2) and does not indicate the version.\n\n## Install\n\n```sh\nnpm install iterm2-version\n```\n\n## Usage\n\n```js\nimport iterm2Version from 'iterm2-version';\n\nconsole.log(iterm2Version());\n//=> '3.5.10'\n```\n\nIf you're not running in iTerm2, it will return `undefined`.\n\nWorks over SSH by querying the terminal via escape sequences when environment variables are not available.\n\n## API\n\n### iterm2Version()\n\nReturns a `string | undefined` with the iTerm2 version.\n","publish_time":1767640822396,"_cnpm_publish_time":1767640822396,"dist-tags":{"latest":"6.0.0"}}