{"_id":"is-podman","_rev":"3-6b48433255d3d464b721494b7a414b04","name":"is-podman","dist-tags":{"latest":"1.0.1"},"versions":{"0.1.0":{"name":"is-podman","version":"0.1.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":"053149884ee73d3d5a1c46fac3eec0be4374b0b5","bugs":{"url":"https://github.com/rohan-av/is-podman/issues"},"homepage":"https://github.com/rohan-av/is-podman#readme","_id":"is-podman@0.1.0","_nodeVersion":"12.8.0","_npmVersion":"7.23.0","dist":{"integrity":"sha512-59wvvDGiD7bJLErS16QVmiao8x0Zjptes9SHZ3ziDzXS/iS5yIqSJ523TcrYmwKJrd+Cnpb66VMhwXyFrpLmNw==","shasum":"b7701032df02178ac37066635df2d8ea800eaff8","tarball":"https://registry.npmjs.org/is-podman/-/is-podman-0.1.0.tgz","fileCount":6,"unpackedSize":3091,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPZ4MCRA9TVsSAnZWagAAIk0P/iAvLIwKyawLl3vHCYdm\n20JpbECj2kh+2jCBBci6xcHikaLlAFkZM2pWDUMp48bddgNw1FHzYe+1L5al\n9q2H14KpGlDcSvhOXW9ka2ylq1Gyqd7f+nMl4qXulxDmYEtqDkyodJ1pKzIu\nIP4F0nHDFLpRSlvQ/QPHO3vAkOane7AJG+wHqsoYJICWlNemekvzImlHjlF+\npUYMIa74HXTZrTag0CKmPpAiCbQCy5UHcJZvgpMUYOnSZ3cYtKd0AdNYEuQY\nI43R8AlYT/D/+Jj81mG1CT5bnL5GgjGtCfN3WAOzdwoTvxkggtmWXP03VhKu\n2WJL2zQ7HQUQafjNXd6EY/sq01Cpe8yuT/DPLQQ5L7p2waIwD1m32IcdfAks\nqbRMTM78SfNQ0Ti6X0PwjalhSr4Fo4jVDguM3zyLw0ACIoelMV1pl6+4ZCoh\nYwUW4JkWGKzCdLEEmlAeiV+Z1OgsbwtNRmHj4G27fa3l9BDfpGBI57iV1mDz\n/LXNs36N6D4rixwYALLbtLgIbP6VW+3tH3VG3GTrcJ1ECwIE4Sle3/SwJFKQ\n4X6QUdjM6a1cp7DcFbTCv57pzilC3xEShNLVZ3xXLW5tc1UbqC8P15qaEQ7S\nZgPvSYkirQFdGr/62mEgeUf476f1Q2/8LF9OEd0WzrH6CXcbD7u3XYSEhDsr\n8VS3\r\n=1M/A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMy0NZC5i5hUGgMrbc4WqV5ol2RU0kGhZhNOsMnxEprgIhAIXNpqXP8vehwHOFBzIuUY1s1hrm7gu3gJ26p84iEN0Z"}]},"_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_0.1.0_1631428108103_0.26544892494030314"},"_hasShrinkwrap":false},"1.0.0":{"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":"https://registry.npmjs.org/is-podman/-/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="}]},"_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},"1.0.1":{"name":"is-podman","version":"1.0.1","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":"43a5a4b40ed8291530141a98b3ec07a3d02caaf0","bugs":{"url":"https://github.com/rohan-av/is-podman/issues"},"homepage":"https://github.com/rohan-av/is-podman#readme","_id":"is-podman@1.0.1","_nodeVersion":"12.8.0","_npmVersion":"7.23.0","dist":{"integrity":"sha512-+5vbtF5FIg262iUa7gOIseIWTx0740RHiax7oSmJMhbfSoBIMQ/IacKKgfnGj65JGeH9lGEVQcdkDwhn1Em1mQ==","shasum":"284a7ba1e6987fff8af5d71d97a29d2a85b7996a","tarball":"https://registry.npmjs.org/is-podman/-/is-podman-1.0.1.tgz","fileCount":6,"unpackedSize":3332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhPc4sCRA9TVsSAnZWagAA1PEP/AhWgs/i3r8VBkYybCvv\n1eydJqQiaB5aRM1WbdIBGYIry7pZKmqmVT9OCvTNSa50U1OVlLZDW57ueuV2\n1J90P0DI8fKyDDL2AiyTI86kLRjOUPfq71gxjHdwtDvWmben4V7p0rgpK6UM\n8RzmL2RnTnMO2i2ZSvuy4pTPd7c9jAA38cyNwSjIRyGJQVD02j7CzV02D7SZ\n3nU2HTcQy68wBURtLkeoCy/3J2CBXI0pO7O9blYi/i6MYfj6s/8HXb8xBuNQ\nYvS/ohtU6LwWv77lGjdsmaNJFIEuoGKe6IWM/v13bOVuQZdTzNB+hwPYrvD7\na/ltdVkZ0vivKjk8wCJkYXASKXDlAq/0L7dQ+OqbrheaP1U0mRZ+DMSuz2Gg\nKKEKNxyhGRRkx0CGXipUi/1KzEpOIo5gV6DG3OSv8Rh7g12Fpo6m8szdJmNC\nFIgvcOkRwhmpC+FaDR14h5BwAiYvvkMigLu+EPIXbuVZMIWBj6dfN/VV46Jz\n013v46zZVZsNN+eVqGSF2JXcDaAMrr+NZTBhhDdFs9CpoNWnyb4YulQu0qz+\n29mUdQoVSB3Ltyz93KgCn/PewK87IV788oxSqbS1bIrx2imliEza2vgzL/VN\nRfErR3NAqfd+9l+5UMXTvNvMIwugHiCB7ADpadCojrqhQYhWWsJnCi4UcFN4\njyH9\r\n=o62M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1jW2OHdGzc2VwrZw4TkMX+Tx0uJOYgurazFbfIuS5oAIgHVtwfPR/Np1A5BZqn/lcflso25gN3Rh/igvETbntfR8="}]},"_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.1_1631440428284_0.2744493149609024"},"_hasShrinkwrap":false}},"time":{"created":"2021-09-12T06:28:28.103Z","0.1.0":"2021-09-12T06:28:28.283Z","modified":"2022-05-06T05:15:49.738Z","1.0.0":"2021-09-12T07:37:30.241Z","1.0.1":"2021-09-12T09:53:48.454Z"},"maintainers":[{"name":"poxav","email":"rohanaryavarma@gmail.com"}],"description":"Check if the process is running inside a Podman container","homepage":"https://github.com/rohan-av/is-podman#readme","keywords":["detect","podman","container","inside","is","env","environment","process","oci"],"repository":{"type":"git","url":"git+https://github.com/rohan-av/is-podman.git"},"author":{"name":"Rohan Arya Varma","email":"rohanaryavarma@gmail.com"},"bugs":{"url":"https://github.com/rohan-av/is-podman/issues"},"license":"MIT","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.","readmeFilename":"README.md"}