{"_id":"noop-process","_rev":"10-5d8990ec00debdd58f533125ecaafdc3","name":"noop-process","description":"Create a noop (no operation) process and get the PID","dist-tags":{"latest":"5.0.0"},"versions":{"1.0.0":{"name":"noop-process","version":"1.0.0","description":"Create a noop process and get the PID","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/noop-process"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js && node test2.js"},"files":["index.js"],"keywords":["noop","moot","process","proc","ps","proc","spawn","pid","test","testing"],"devDependencies":{"ava":"0.0.4","ps-list":"^2.0.0"},"gitHead":"4fd643c6283e75e95ea2b09145dc3ab6e9a05a94","bugs":{"url":"https://github.com/sindresorhus/noop-process/issues"},"homepage":"https://github.com/sindresorhus/noop-process","_id":"noop-process@1.0.0","_shasum":"4d5c41e9f59fba06a3ed838503872b6b65f92c06","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"4d5c41e9f59fba06a3ed838503872b6b65f92c06","tarball":"https://registry.npmjs.org/noop-process/-/noop-process-1.0.0.tgz","integrity":"sha512-El9T3i+QWkSPEiV1n9cqkaDRg06KxcGTnOrcRih3tERE5/n0iKxiZAU/UJeOqK2NMju+0NRpGB3kYXG3q/Hk8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZP96AmpYIJBWjHLUNN5SbNzzTTiQSaMMlc8IDhTSsOAIhAPeOCf4sVr6K9GDyceE7xV26JhHCQzqTMmiqaaSltQ+l"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"1.0.1":{"name":"noop-process","version":"1.0.1","description":"Create a noop process and get the PID","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/noop-process"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js && node test2.js"},"files":["index.js"],"keywords":["noop","moot","process","proc","ps","proc","spawn","pid","test","testing"],"devDependencies":{"ava":"0.0.4","ps-list":"^2.0.0"},"gitHead":"e9331de133ebf423f4b859e9db89ccd98cf617c2","bugs":{"url":"https://github.com/sindresorhus/noop-process/issues"},"homepage":"https://github.com/sindresorhus/noop-process","_id":"noop-process@1.0.1","_shasum":"46c811fbd1eb6b8072d6ca5befe2a7c26b8f8bc0","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"46c811fbd1eb6b8072d6ca5befe2a7c26b8f8bc0","tarball":"https://registry.npmjs.org/noop-process/-/noop-process-1.0.1.tgz","integrity":"sha512-dDiHF2XZNh1+kAmKar6uPoktT3zGu+26A8EKEoE+a+uUFMtT1mHE+B7OzERUYBMx0VkxI1ohdi9jEJTQ1WCyTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaC08dHlJsJVam9BAMIQ+EysCExa5ZaA29c5W5B+3sQAiBPzF9EGmFGOuplPBjUx6ABrShjhyG2J+J+IVWvzX8Qrg=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"2.0.0":{"name":"noop-process","version":"2.0.0","description":"Create a noop process and get the PID","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/noop-process"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js && node test2.js"},"files":["index.js"],"keywords":["noop","moot","process","proc","ps","proc","spawn","pid","test","testing"],"devDependencies":{"ava":"0.0.4","process-exists":"^1.0.0"},"gitHead":"322f25e45f6982b728539ed085a57ceb8f68a55c","bugs":{"url":"https://github.com/sindresorhus/noop-process/issues"},"homepage":"https://github.com/sindresorhus/noop-process","_id":"noop-process@2.0.0","_shasum":"21c4305c3a9c00877d7f6dc5ede258b6f90561ac","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"21c4305c3a9c00877d7f6dc5ede258b6f90561ac","tarball":"https://registry.npmjs.org/noop-process/-/noop-process-2.0.0.tgz","integrity":"sha512-DqCiSu/EPNQFz3gkNVfgJa5b6qdmHxTZEnMleiAhSUSX21bv2Xgl4SwTew0eQ0hro3QQp5DoRr16kSIvjcyjlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHrTTNNvFl8IMy5B2WHl391BFyOTxVxrB2eQOE+SRgNAIhAN/ungc6kpCznBkDIjRkV7dEdw8pWYFMMnAINg93N7Mt"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"3.0.0":{"name":"noop-process","version":"3.0.0","description":"Create a noop process and get the PID","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/noop-process"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava test.js && ava test2.js"},"files":["index.js"],"keywords":["noop","moot","process","proc","ps","proc","spawn","pid","test","testing"],"dependencies":{"pinkie-promise":"^1.0.0"},"devDependencies":{"ava":"*","fkill":"^3.0.0","process-exists":"^2.0.0","xo":"*"},"xo":{"ignores":["test*.js"]},"gitHead":"7c606ef298b821f9dde80b2d7abd9c2f23b203ac","bugs":{"url":"https://github.com/sindresorhus/noop-process/issues"},"homepage":"https://github.com/sindresorhus/noop-process","_id":"noop-process@3.0.0","_shasum":"cb58cb9746343e18c9fd2cc91bdead41d79b88e0","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"cb58cb9746343e18c9fd2cc91bdead41d79b88e0","tarball":"https://registry.npmjs.org/noop-process/-/noop-process-3.0.0.tgz","integrity":"sha512-kRdGW6gzmQ6Tx9BLh/1/JQYfM089demyJZRaOqxm8IHLRypaW3t5lN5/PVIkMHtjGV0DiQBIjk4l20Wnt10phA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC9sWH+gOfH7hEWpkvKMlSq1VIsQheX2lWR6z61zNh2LAiAcS8KfQ1OIacsqe2AzuFgIh4JxDNB8pm/YejicMIuIjw=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"3.1.0":{"name":"noop-process","version":"3.1.0","description":"Create a noop process and get the PID","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/noop-process"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava test.js && ava test2.js"},"files":["index.js"],"keywords":["noop","moot","process","proc","ps","proc","spawn","pid","test","testing"],"dependencies":{"pinkie-promise":"^2.0.0"},"devDependencies":{"ava":"*","fkill":"^3.0.0","process-exists":"^2.0.0","xo":"*"},"xo":{"ignores":["test*.js"]},"gitHead":"2d75a85a66e1104dc114fbe8c5a479b7df79a103","bugs":{"url":"https://github.com/sindresorhus/noop-process/issues"},"homepage":"https://github.com/sindresorhus/noop-process","_id":"noop-process@3.1.0","_shasum":"4f3d889aeffc2455da4c5d0963a6e4c0f789ad85","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"4f3d889aeffc2455da4c5d0963a6e4c0f789ad85","tarball":"https://registry.npmjs.org/noop-process/-/noop-process-3.1.0.tgz","integrity":"sha512-GrsMtSL+iQpDQcjBqhs3J9PXrySPkheRWzBSzcwt6k1yG3rC9W1f7QyrHBbex1qWKVY6FuaN2+CDoGt4poe1cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0sxkDT3PZdjYPAm+wtlwPxRScpV4pcWvqIPcl3/q2iwIhAPd4EXk67HtrOGKm2TxH1QhTWAa1Wptl0Mwbed1lkDPv"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{}},"4.0.0":{"name":"noop-process","version":"4.0.0","description":"Create a noop process and get the PID","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/noop-process.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava test.js && ava test2.js"},"keywords":["noop","moot","process","ps","spawn","pid","test","testing"],"devDependencies":{"ava":"^2.0.0","fkill":"^6.2.0","process-exists":"^2.1.0","xo":"^0.24.0"},"xo":{"ignores":["test*.js"]},"gitHead":"eb8ee2b449811c4a81bbeeaea592f10a02a35765","bugs":{"url":"https://github.com/sindresorhus/noop-process/issues"},"homepage":"https://github.com/sindresorhus/noop-process#readme","_id":"noop-process@4.0.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-WMNQtLA6WsoaHhRN7xoonRsd3cIZaERPk4oouvvWVMGYGrZgsZRFR2OEe6KQWmkCpcbE1NaHrUER/nADRqyvyQ==","shasum":"b2d6435ef5f720cf2191c419d1056fe1d95037fd","tarball":"https://registry.npmjs.org/noop-process/-/noop-process-4.0.0.tgz","fileCount":4,"unpackedSize":4449,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/iI8CRA9TVsSAnZWagAAcEkP/ApA1dRNadCnnzyEUgVY\ndYbs5rcnzyoUwTtsq9jVhb6ju2DubOcYmEvalF8RA3HC0C8QA7dlmJN09ZAo\nU6OThH+JLZ6xLDMl7TJyFUigqsugVaFsXXiddFhmlHK8ZAABmUcVkkwKezbP\nN3iCKWh/tMocQDuiq7/9aPu0LaCY8q/Pr6IvUN5Uwja6WSgineyz7qqdeSYV\nXRO1eRLltuQ3JJYi2qZ7ceOBVJs2nEGpZyfPVX2v23wyp4S11qfDJXVAQQsu\nVMPFt3iiNdfRqixPUhYT0kmotoHpr32V21fWTJI/SZRW3b8mFVLc0Z/CUD36\nVs+prufbXEIa8dCq4JbmUIomZVCKmPoIgYSu3iMOT/tjIIkg2y1jSyQOxA3U\nnQZ7mI5Td0+YofbGgZh7Hxs/m6igo8PTmFoI+TZ4sz9u6lKWKBuuH/fgUOb+\n2my/i81PAnCryBJNlbnUazH+2dKGJrV2zzrfxySIybb585CvsWnmSiZ5kCLd\nFbMyjk7YxuDzkMp8mJFALI2tV0668H2EosZ287rJowQVQpnaA+/uUJ20gOSr\nxeZ52rUjReO0u4S/g3LVSUIfY0EBgcAmsAQyLvL/AJ1U+GobhsGEEpxbUQNR\nPDDaC9KV9AUch2XViMvVvaPgzDoSiO8gtgNnve88S/exFZpDCAR6b6FQG6lr\nXf0C\r\n=tvyi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHOkPZ1tdeT5NDWpn1uG0mjnI4t7IHZSZmmSbHueg+kFAiBrYlVT1uh4fyzKszcp0p9t2chFCrc2TcJLcYmksD1WUQ=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/noop-process_4.0.0_1560158779253_0.018758244040673056"},"_hasShrinkwrap":false},"5.0.0":{"name":"noop-process","version":"5.0.0","description":"Create a noop (no operation) process and get the PID","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/noop-process.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava"},"keywords":["noop","moot","process","ps","spawn","pid","test","testing"],"devDependencies":{"ava":"^3.15.0","fkill":"^7.2.1","process-exists":"^4.1.0","semver":"^7.3.5","xo":"^0.44.0"},"xo":{"ignores":["test*.js"]},"gitHead":"0e611cd2d2e1439063f49f7bbe8151d04b7488f0","bugs":{"url":"https://github.com/sindresorhus/noop-process/issues"},"homepage":"https://github.com/sindresorhus/noop-process#readme","_id":"noop-process@5.0.0","_nodeVersion":"16.2.0","_npmVersion":"7.13.0","dist":{"integrity":"sha512-n62Aw2li1D1v3c7lOTAC23CogYqpNrNkqPu8YG6/iYiqp4UNIBYwO+INLw5ZRMipaCGzKayyMosWTR6FaUP6tA==","shasum":"1d19bdf3153899c7b1f117fc4b272b1d26c6a279","tarball":"https://registry.npmjs.org/noop-process/-/noop-process-5.0.0.tgz","fileCount":4,"unpackedSize":4591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhEoLBCRA9TVsSAnZWagAAvaoP/2PppYHAER0HQ8+0mfnD\nwTt87GtGJbfkEL8dcObO30sIW6yXRvSaFdYThdBU6QhFGmAfgnAqo7dFeuyT\nmpiju/c2EErB2lP3YG404/WssHp83BnHtt+3HiVEL/xWiJIORDAq9FwXgjLa\naS8YzbMWWe2RKlc0J2ppdrk6L+KLiacKKI/o+zcUCF30cg5lNmfMrk2Y96gQ\n6w0JLcQfi5GRbgezpVEKEyza+xcYPoBN5Vo2Mx/53MVMbvFOFN9vAhHi+WeA\nmMj1ryug2micLIzsMzeyf5orSp2C+VQbldGzh98lM7Osevm3kik0Xcr2sOmR\nWzYOCEixuwKBImgL/Wp8FoqG7RUIlcwOlUXiGLOtA94JGcGdulRuo/F7yfsB\nUs4W6m64SNjp2nl035TgawIcG8rKndBi/dR+hSCPnu9/j3/PTgGlRyKMVpIr\nykggv+zk8koPUEB28EBkvat7eIH7kP1IAX9mB1pCS0+48I0Br3TBzWOLELIf\ndCNPjTmathrjnZz6JfMNU6J7EFqzKD4ZSc5czsFPku77CgKbZZz820FiEuuL\nxfl1DDfhx3Q9Yx7l0ZwkwgIfJgGwlgWpjAebJC3edRXSXhceBLPrwmLiu9jo\nL7ZiypEhMBFLwsRkY60+PPXmdkoB6bgHgK0ydOoXXxyq+TkwNGPfTeYgfC/o\n8DuL\r\n=40GA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAIrlTvDMuq96ULxkI0FrqMuDLxDZ5YRXSd2L6tBcTzMAiA6Fh5NBcgqp3dJY0SSzSF9A9u2snw26iR2m1y9oaMN4A=="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/noop-process_5.0.0_1628603073100_0.9667609766229384"},"_hasShrinkwrap":false}},"readme":"# noop-process\n\n> Create a noop (no operation) process and get the PID\n\nUseful for testing purposes.\n\n## Install\n\n```\n$ npm install noop-process\n```\n\n## Usage\n\n```js\nimport noopProcess from 'noop-process';\n\nconst pid = await noopProcess();\n\nconsole.log(pid);\n//=> 1337\n```\n\n## API\n\n### noopProcess(options?)\n\nCreates a [noop](https://en.wikipedia.org/wiki/NOP_(code)) process.\n\nReturns a `Promise<number>` with the process ID of the created process.\n\n#### options\n\nType: `object`\n\n##### title\n\nType: `string`\n\nGive the process a [title](https://nodejs.org/api/process.html#process_process_title) to make it easier to see it in `ps` or kill it with `killall`.\n\nMaximum 15 characters, as anything longer will be truncated by the system.\n\n##### persistent\n\nType: `boolean`\\\nDefault: `false`\n\nLet the process continue to live after the main process exits.\n\n##### onlyForceKillable\n\nType: `boolean`\\\nDefault: `false`\n\nMake the process only killable with `SIGKILL`.\n\n### cleanUpNoopProcesses()\n\nAll the processes are cleaned up when the main process exits, but you can use this if you need them cleaned up earlier.\n\n```js\nimport {cleanUpNoopProcesses} from 'noop-process';\n\ncleanUpNoopProcesses();\n```\n","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2022-06-22T05:05:51.527Z","created":"2015-06-20T17:30:48.087Z","1.0.0":"2015-06-20T17:30:48.087Z","1.0.1":"2015-06-20T19:39:55.787Z","2.0.0":"2015-06-20T21:20:53.811Z","3.0.0":"2015-10-18T20:30:19.985Z","3.1.0":"2015-11-14T19:32:08.833Z","4.0.0":"2019-06-10T09:26:19.370Z","5.0.0":"2021-08-10T13:44:33.325Z"},"homepage":"https://github.com/sindresorhus/noop-process#readme","keywords":["noop","moot","process","ps","spawn","pid","test","testing"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/noop-process.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/noop-process/issues"},"license":"MIT","readmeFilename":"readme.md"}