{"name":"is-podman","version":"1.0.0","description":"Check if the process is running inside a Podman container","license":"MIT","author":{"name":"Rohan Arya Varma","email":"rohanaryavarma@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/rohan-av/is-podman.git"},"keywords":["detect","podman","container","inside","is","env","environment","process","oci"],"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"bin":{"is-podman":"cli.js"},"engines":{"node":">=8"},"types":"./index.d.ts","gitHead":"1f3b79a89e8e7463ea5a171aebf213fbfeebcb7a","bugs":{"url":"https://github.com/rohan-av/is-podman/issues"},"homepage":"https://github.com/rohan-av/is-podman#readme","_id":"is-podman@1.0.0","_nodeVersion":"12.8.0","_npmVersion":"7.23.0","dist":{"integrity":"sha512-SlRpWJU4uBiwxKBDKt64D21LpAn0y6dQx9XO/SsP2NZ84wOknBHGS3ZTZfVmOom8xZbDXyLt8UaPl+BGXqWYaw==","shasum":"55085d9bf762272f8a4a5d9b2ca5edac874e7238","tarball":"http://registry-npm.ywwl.com/is-podman/download/is-podman-1.0.0.tgz","fileCount":6,"unpackedSize":3361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPa46CRA9TVsSAnZWagAA1RIP/AxdA/Uzb1HKRmiScWuS\nUv3H5ykC2ejdERzkft/b4b5oKzPic/9UGS4CN+0hyuUcy7R4AOVi/dkry0WU\nb0CbMW/gDpmZLyznWrcBCfIMDYRuNLDDrczx0L9ucVEeMjMndxe6Z6LE2UU5\n4y6tHhg4pX1jt6gjEXTSyaXbZN+JSF6G0L8/aQcYQ5Wx/HB1Bh2HjuTPFSVM\n1dkoV90+4k5JVmtGeJhPAHfTnSlUeREEgAUfNE8oJcad93HzxY3RJPS70+LW\nrRUqqst9bI+Y1mruysupzUsEnO8nCOmwkGRw4bSVQYvJvjUrBGSg+ND7q2B5\nheqQpwLA+wSu1FXvxHNEtUso6QAxkWGC2uZGX76Sa4vk8k+eVbCsb9eFutKT\nL+0QvPmwx1DzatWvElngy+Vxwi+qoeF8fZ7VyMgNFkkDCGmQcNNbIqKBSmzF\nZ2WTf/FR8dsTAbrx3mqXFo4SOFf8NYaJ+0eQ/A8ZIcNmjEtJXF+O7up6A1VR\nczePhj2dQEIHkTOuh2YTObN7ppIbWxUZKu8/NZgTrBzWZokJUpFS8x4QLBGy\nPaRKVGZvWNpUc/jR4hV+2r9pJtaJ9486sqNaJWbNUskSPePYG22SYvX5KRLG\nl2FUwM8uMqREcCF0J+z79V5i/tOOOaWzm7ysXTQQFyeLY0OX8d15cpM4JzUa\nA0dV\r\n=p1gm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJZA9UBNFp4O3RLlojyYD0b4DWQzp+GAmKfLGSKwtj9wIgJMA0DRpq3oJmyk07dAxzB5soJesBUjhnjgwxdDwhOVM="}],"size":1913,"noattachment":false,"key":"/is-podman/-/is-podman-1.0.0.tgz"},"_npmUser":{"name":"poxav","email":"rohanaryavarma@gmail.com"},"directories":{},"maintainers":[{"name":"poxav","email":"rohanaryavarma@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-podman_1.0.0_1631432250079_0.891439559041473"},"_hasShrinkwrap":false,"readme":"# is-podman \r\n\r\n`is-podman` is an NPM module that checks whether a process is running inside a Podman container. This module is intended to work similarly to sindresorhus' `is-docker [module](https://www.npmjs.com/package/is-docker).\r\n\r\n## Install\r\n\r\n```\r\n$ npm install is-podman\r\n```\r\n\r\n## Code Usage\r\n\r\n```js\r\nimport isPodman = require('is-podman')\r\n\r\nif (isPodman()) {\r\n\tconsole.log('Running inside a Podman container')\r\n}\r\n```\r\n\r\n## CLI Usage\r\n```\r\n$ is-podman\r\n```\r\nExits with code 0 if inside a Podman container and 2 if not.\r\n\r\n## Testing\r\n\r\nBoth the code and CLI functionality were tested on WSL in the following environemtnts:\r\n1. no containerization\r\n1. Docker\r\n1. Podman\r\n\r\nBehavior was as expected, but no formal tests have been written yet.","publish_time":1631432250241,"_cnpm_publish_time":1631432250241,"dist-tags":{"latest":"1.0.1"}}