{"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":"http://registry-npm.ywwl.com/is-podman/download/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"}],"size":1766,"noattachment":false,"key":"/is-podman/-/is-podman-0.1.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_0.1.0_1631428108103_0.26544892494030314"},"_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":1631428108283,"_cnpm_publish_time":1631428108283,"dist-tags":{"latest":"1.0.1"}}