{"_id":"@expo/spawn-async","_rev":"4518424","name":"@expo/spawn-async","description":"A Promise-based interface into processes created by child_process.spawn","dist-tags":{"latest":"1.7.2","next":"1.4.0"},"maintainers":[{"name":"alanhughes","email":""},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expo-bot","email":""},{"name":"expoadmin","email":""},{"name":"exponent","email":""},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"philpl","email":""},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"time":{"modified":"2026-04-09T12:58:47.000Z","created":"2017-04-28T03:31:19.677Z","1.7.2":"2023-03-17T23:59:37.497Z","1.7.1":"2023-03-17T23:58:18.181Z","1.7.0":"2022-07-27T16:42:45.291Z","1.7.0-rc.0":"2022-07-27T01:01:51.840Z","1.6.0":"2022-01-27T09:15:34.560Z","1.5.0":"2019-05-30T12:27:13.069Z","1.4.2":"2019-04-19T08:20:44.255Z","1.4.0":"2018-11-21T04:14:44.309Z","1.3.0":"2017-07-28T00:15:55.780Z","1.2.8":"2017-04-28T03:31:19.677Z"},"users":{},"author":{"name":"Expo"},"repository":{"type":"git","url":"git+https://github.com/expo/spawn-async.git"},"versions":{"1.7.2":{"name":"@expo/spawn-async","version":"1.7.2","description":"A Promise-based interface into processes created by child_process.spawn","main":"./build/spawnAsync.js","types":"./build/spawnAsync.d.ts","engines":{"node":">=12"},"scripts":{"build":"tsc","clean":"rm -rf build","prepare":"yarn clean && yarn build","start":"tsc --watch","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/expo/spawn-async.git"},"keywords":["spawn","child_process","async","promise","process"],"author":{"name":"Expo"},"license":"MIT","bugs":{"url":"https://github.com/expo/spawn-async/issues"},"homepage":"https://github.com/expo/spawn-async#readme","jest":{"preset":"ts-jest","rootDir":"src"},"dependencies":{"cross-spawn":"^7.0.3"},"devDependencies":{"@types/cross-spawn":"^6.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.3","jest":"^29.5.0","ts-jest":"^29.0.5","typescript":"^5.0.2"},"gitHead":"175cbaabc7975e2807710bb78e014f5fa35a5990","_id":"@expo/spawn-async@1.7.2","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"shasum":"fcfe66c3e387245e72154b1a7eae8cada6a47f58","size":4784,"noattachment":false,"key":"/@expo/spawn-async/-/@expo/spawn-async-1.7.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@expo/spawn-async/download/@expo/spawn-async-1.7.2.tgz"},"_npmUser":{"name":"ide","email":"ide+npm@jameside.com"},"directories":{},"maintainers":[{"name":"alanhughes","email":""},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expo-bot","email":""},{"name":"expoadmin","email":""},{"name":"exponent","email":""},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"philpl","email":""},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spawn-async_1.7.2_1679097577367_0.8960143015674433"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-17T23:59:37.497Z","publish_time":1679097577497,"_cnpm_publish_time":1679097577497},"1.7.1":{"name":"@expo/spawn-async","version":"1.7.1","description":"A Promise-based interface into processes created by child_process.spawn","main":"./build/spawnAsync.js","types":"./build/spawnAsync.d.ts","engines":{"node":">=12"},"scripts":{"build":"tsc","clean":"rm -rf build","prepare":"yarn clean && yarn build","start":"tsc --watch","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/expo/spawn-async.git"},"keywords":["spawn","child_process","async","promise","process"],"author":{"name":"Expo"},"license":"MIT","bugs":{"url":"https://github.com/expo/spawn-async/issues"},"homepage":"https://github.com/expo/spawn-async#readme","jest":{"preset":"ts-jest","rootDir":"src"},"dependencies":{"cross-spawn":"^7.0.3"},"devDependencies":{"@types/cross-spawn":"^6.0.2","@types/jest":"^29.5.0","@types/node":"^18.15.3","jest":"^29.5.0","ts-jest":"^29.0.5","typescript":"^5.0.2"},"gitHead":"d6532a120611ece7c6307e837e8311a410afa250","_id":"@expo/spawn-async@1.7.1","_nodeVersion":"18.14.0","_npmVersion":"9.3.1","dist":{"shasum":"67074d2df26d67594a83f5571c0d083942ceda5f","size":7643,"noattachment":false,"key":"/@expo/spawn-async/-/@expo/spawn-async-1.7.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@expo/spawn-async/download/@expo/spawn-async-1.7.1.tgz"},"_npmUser":{"name":"ide","email":"ide+npm@jameside.com"},"directories":{},"maintainers":[{"name":"alanhughes","email":""},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expo-bot","email":""},{"name":"expoadmin","email":""},{"name":"exponent","email":""},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"philpl","email":""},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spawn-async_1.7.1_1679097498043_0.5382963075172233"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-17T23:58:18.181Z","publish_time":1679097498181,"_cnpm_publish_time":1679097498181},"1.7.0":{"name":"@expo/spawn-async","version":"1.7.0","description":"A Promise-based interface into processes created by child_process.spawn","main":"./build/spawnAsync.js","types":"./build/spawnAsync.d.ts","engines":{"node":">=12"},"scripts":{"build":"tsc","clean":"rm -rf build","prepare":"yarn clean && yarn build","start":"tsc --watch","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/expo/spawn-async.git"},"keywords":["spawn","child_process","async","promise","process"],"author":{"name":"Expo"},"license":"MIT","bugs":{"url":"https://github.com/expo/spawn-async/issues"},"homepage":"https://github.com/expo/spawn-async#readme","jest":{"preset":"ts-jest","testEnvironment":"node","rootDir":"src"},"dependencies":{"cross-spawn":"^7.0.3"},"devDependencies":{"@types/cross-spawn":"^6.0.2","@types/jest":"^28.1.6","@types/node":"^18.6.1","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"gitHead":"b64b2cc51302681fe19d090ae80a79e992cb13ef","_id":"@expo/spawn-async@1.7.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"shasum":"3ab6082b24318cccc4e73b13464da91325555500","size":7422,"noattachment":false,"key":"/@expo/spawn-async/-/@expo/spawn-async-1.7.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@expo/spawn-async/download/@expo/spawn-async-1.7.0.tgz"},"_npmUser":{"name":"ide","email":"ide+npm@jameside.com"},"directories":{},"maintainers":[{"name":"alanhughes","email":""},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expo-bot","email":""},{"name":"expoadmin","email":""},{"name":"exponent","email":""},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"philpl","email":""},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spawn-async_1.7.0_1658940165130_0.4828932466060851"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-27T16:59:48.810Z","publish_time":1658940165291,"_cnpm_publish_time":1658940165291},"1.7.0-rc.0":{"name":"@expo/spawn-async","version":"1.7.0-rc.0","description":"A Promise-based interface into processes created by child_process.spawn","main":"index.js","types":"./build/spawnAsync.d.ts","engines":{"node":">=12"},"scripts":{"build":"tsc","clean":"rm -rf build","prepare":"yarn clean && yarn build","start":"tsc --watch","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/expo/spawn-async.git"},"keywords":["spawn","child_process","async","promise","process"],"author":{"name":"Expo"},"license":"MIT","bugs":{"url":"https://github.com/expo/spawn-async/issues"},"homepage":"https://github.com/expo/spawn-async#readme","jest":{"preset":"ts-jest","testEnvironment":"node","rootDir":"src"},"dependencies":{"cross-spawn":"^7.0.3"},"devDependencies":{"@types/cross-spawn":"^6.0.2","@types/jest":"^28.1.6","@types/node":"^18.6.1","jest":"^28.1.3","ts-jest":"^28.0.7","typescript":"^4.7.4"},"gitHead":"b9fe61787ed06a5da2959e966393cddc4c2b703a","_id":"@expo/spawn-async@1.7.0-rc.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.5","dist":{"shasum":"acd0f14327056fd6825d802ff940d5d45fc46988","size":7306,"noattachment":false,"key":"/@expo/spawn-async/-/@expo/spawn-async-1.7.0-rc.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@expo/spawn-async/download/@expo/spawn-async-1.7.0-rc.0.tgz"},"_npmUser":{"name":"ide","email":"ide+npm@jameside.com"},"directories":{},"maintainers":[{"name":"alanhughes","email":""},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expo-bot","email":""},{"name":"expoadmin","email":""},{"name":"exponent","email":""},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"philpl","email":""},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spawn-async_1.7.0-rc.0_1658883711641_0.3768218717245493"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-27T01:13:11.649Z","publish_time":1658883711840,"_cnpm_publish_time":1658883711840},"1.6.0":{"name":"@expo/spawn-async","version":"1.6.0","description":"A Promise-based interface into processes created by child_process.spawn","main":"index.js","types":"./build/spawnAsync.d.ts","engines":{"node":">=12"},"scripts":{"build":"tsc","clean":"rm -rf build","prepare":"yarn clean && yarn build","start":"tsc --watch","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/expo/spawn-async.git"},"keywords":["spawn","child_process","async","promise","process"],"author":{"name":"Expo"},"license":"MIT","bugs":{"url":"https://github.com/expo/spawn-async/issues"},"homepage":"https://github.com/expo/spawn-async#readme","jest":{"preset":"ts-jest","testEnvironment":"node","rootDir":"src"},"dependencies":{"cross-spawn":"^7.0.3"},"devDependencies":{"@types/cross-spawn":"^6.0.2","@types/jest":"^27.4.0","@types/node":"^17.0.12","jest":"^27.4.7","ts-jest":"^27.1.3","typescript":"^4.5.5"},"gitHead":"5ccb7e4c04c3b562865143909bbcc8d2255dbc6e","_id":"@expo/spawn-async@1.6.0","_nodeVersion":"16.0.0","_npmVersion":"7.10.0","dist":{"shasum":"b7267af6791134d47c69bf0986f151599535309f","size":7410,"noattachment":false,"key":"/@expo/spawn-async/-/@expo/spawn-async-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@expo/spawn-async/download/@expo/spawn-async-1.6.0.tgz"},"_npmUser":{"name":"dsokal","email":"dominiksokal@gmail.com"},"directories":{},"maintainers":[{"name":"alanhughes","email":""},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expo-bot","email":""},{"name":"expoadmin","email":""},{"name":"exponent","email":""},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"philpl","email":""},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spawn-async_1.6.0_1643274934415_0.07813010020389433"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-01-27T09:15:45.939Z","publish_time":1643274934560,"_cnpm_publish_time":1643274934560},"1.5.0":{"name":"@expo/spawn-async","version":"1.5.0","description":"A Promise-based interface into processes created by child_process.spawn","main":"index.js","types":"./build/spawnAsync.d.ts","engines":{"node":">=4"},"scripts":{"build":"tsc","clean":"rm -rf build","prepare":"yarn clean && yarn build","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/expo/spawn-async.git"},"keywords":["spawn","child_process","async","promise","process"],"author":{"name":"Expo"},"license":"MIT","bugs":{"url":"https://github.com/expo/spawn-async/issues"},"homepage":"https://github.com/expo/spawn-async#readme","jest":{"preset":"ts-jest","testEnvironment":"node","rootDir":"src"},"dependencies":{"cross-spawn":"^6.0.5"},"devDependencies":{"@types/cross-spawn":"^6.0.0","@types/jest":"^23.3.9","jest":"^23.6.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"gitHead":"0afcfca2ea0908f9818e8fdd1c696af4fa14893d","_id":"@expo/spawn-async@1.5.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"fson","email":"ville.immonen@iki.fi"},"dist":{"shasum":"799827edd8c10ef07eb1a2ff9dcfe081d596a395","size":7334,"noattachment":false,"key":"/@expo/spawn-async/-/@expo/spawn-async-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@expo/spawn-async/download/@expo/spawn-async-1.5.0.tgz"},"maintainers":[{"name":"alanhughes","email":""},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expo-bot","email":""},{"name":"expoadmin","email":""},{"name":"exponent","email":""},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"philpl","email":""},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spawn-async_1.5.0_1559219232942_0.8375005630291934"},"_hasShrinkwrap":false,"publish_time":1559219233069,"_cnpm_publish_time":1559219233069},"1.4.2":{"name":"@expo/spawn-async","version":"1.4.2","description":"A Promise-based interface into processes created by child_process.spawn","main":"build/spawnAsync.js","engines":{"node":">=4"},"scripts":{"build":"tsc","clean":"rm -rf build","prepare":"yarn clean && yarn build","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/expo/spawn-async.git"},"keywords":["spawn","child_process","async","promise","process"],"author":{"name":"Expo"},"license":"MIT","bugs":{"url":"https://github.com/expo/spawn-async/issues"},"homepage":"https://github.com/expo/spawn-async#readme","jest":{"preset":"ts-jest","testEnvironment":"node","rootDir":"src"},"dependencies":{"cross-spawn":"^6.0.5"},"devDependencies":{"@types/cross-spawn":"^6.0.0","@types/jest":"^23.3.9","jest":"^23.6.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"gitHead":"5280b276aa427cfe3bb12e446a0be9db14ab3196","_id":"@expo/spawn-async@1.4.2","_npmVersion":"6.1.0","_nodeVersion":"8.15.1","_npmUser":{"name":"dsokal","email":"dominiksokal@gmail.com"},"dist":{"shasum":"334b28215e3850071cede3a23d898f977904e01a","size":7302,"noattachment":false,"key":"/@expo/spawn-async/-/@expo/spawn-async-1.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@expo/spawn-async/download/@expo/spawn-async-1.4.2.tgz"},"maintainers":[{"name":"alanhughes","email":""},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expo-bot","email":""},{"name":"expoadmin","email":""},{"name":"exponent","email":""},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"philpl","email":""},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spawn-async_1.4.2_1555662043975_0.831681126552652"},"_hasShrinkwrap":false,"publish_time":1555662044255,"_cnpm_publish_time":1555662044255},"1.4.0":{"name":"@expo/spawn-async","version":"1.4.0","description":"A Promise-based interface into processes created by child_process.spawn","main":"build/spawnAsync.js","engines":{"node":">=4"},"scripts":{"build":"tsc","clean":"rm -rf build","prepare":"yarn clean && yarn build","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/expo/spawn-async.git"},"keywords":["spawn","child_process","async","promise","process"],"author":{"name":"Expo"},"license":"MIT","bugs":{"url":"https://github.com/expo/spawn-async/issues"},"homepage":"https://github.com/expo/spawn-async#readme","jest":{"preset":"ts-jest","testEnvironment":"node","rootDir":"src"},"dependencies":{"@types/cross-spawn":"^6.0.0","cross-spawn":"^6.0.5"},"devDependencies":{"@types/jest":"^23.3.9","jest":"^23.6.0","ts-jest":"^23.10.4","typescript":"^3.1.6"},"readmeFilename":"README.md","gitHead":"a312b1edb4beb75016cc42c1cea5cfd7c1fb2c93","_id":"@expo/spawn-async@1.4.0","_npmVersion":"6.1.0","_nodeVersion":"8.12.0","_npmUser":{"name":"ide","email":"ide+npm@jameside.com"},"dist":{"shasum":"39f7777bdee22e1f48d03898c9ed2f150a7f4cbd","size":6195,"noattachment":false,"key":"/@expo/spawn-async/-/@expo/spawn-async-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@expo/spawn-async/download/@expo/spawn-async-1.4.0.tgz"},"maintainers":[{"name":"alanhughes","email":""},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expo-bot","email":""},{"name":"expoadmin","email":""},{"name":"exponent","email":""},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"philpl","email":""},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spawn-async_1.4.0_1542773684174_0.14897261836015718"},"_hasShrinkwrap":false,"publish_time":1542773684309,"_cnpm_publish_time":1542773684309},"1.3.0":{"name":"@expo/spawn-async","version":"1.3.0","description":"A Promise-based interface into processes created by child_process.spawn","main":"build/spawnAsync.js","files":["build"],"engines":{"node":">=4"},"scripts":{"build":"babel -d build --ignore /__tests__/ src","test":"jest src"},"babel":{"presets":["es2015-node4","es2017"]},"repository":{"type":"git","url":"git+https://github.com/expo/spawn-async.git"},"keywords":["spawn","child_process","async","promise","process"],"author":{"name":"support@expo.io"},"license":"MIT","bugs":{"url":"https://github.com/expo/spawn-async/issues"},"homepage":"https://github.com/expo/spawn-async#readme","dependencies":{"cross-spawn":"^5.1.0"},"devDependencies":{"babel-cli":"^6.16.0","babel-jest":"^20.0.3","babel-preset-es2015-node4":"^2.1.0","babel-preset-es2017":"^6.16.0","jest":"^20.0.4"},"gitHead":"d7ac369cdf21b9981603f7ba6edbeff42f5d3ad6","_id":"@expo/spawn-async@1.3.0","_shasum":"01b8a4f6bba10b792663f9272df66c7e90166dad","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"ide","email":"ide+npm@jameside.com"},"dist":{"shasum":"01b8a4f6bba10b792663f9272df66c7e90166dad","size":2444,"noattachment":false,"key":"/@expo/spawn-async/-/@expo/spawn-async-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@expo/spawn-async/download/@expo/spawn-async-1.3.0.tgz"},"maintainers":[{"name":"alanhughes","email":""},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expo-bot","email":""},{"name":"expoadmin","email":""},{"name":"exponent","email":""},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"philpl","email":""},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spawn-async-1.3.0.tgz_1501200955527_0.7380977456923574"},"directories":{},"publish_time":1501200955780,"_hasShrinkwrap":false,"_cnpm_publish_time":1501200955780},"1.2.8":{"name":"@expo/spawn-async","version":"1.2.8","description":"A Promise-based interface into processes created by child_process.spawn","main":"build/spawnAsync.js","files":["build"],"engines":{"node":">=4"},"scripts":{"build":"babel -d build --ignore /__tests__/ src","test":"jest src"},"babel":{"presets":["es2015-node4","es2017"]},"repository":{"type":"git","url":"git+https://github.com/expo/spawn-async.git"},"keywords":["spawn","child_process","async","promise","process"],"author":{"name":"support@expo.io"},"license":"MIT","bugs":{"url":"https://github.com/expo/spawn-async/issues"},"homepage":"https://github.com/expo/spawn-async#readme","dependencies":{"cross-spawn":"^4.0.2"},"devDependencies":{"babel-cli":"^6.16.0","babel-jest":"^15.0.0","babel-preset-es2015-node4":"^2.1.0","babel-preset-es2017":"^6.16.0","jest":"^15.1.1"},"gitHead":"fcaae73c74220b93f4e7cad14dda89c70f1f5828","_id":"@expo/spawn-async@1.2.8","_shasum":"ca0f3e0b447dcfe2db3d29a2f58682465d60c63d","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.7.1","_npmUser":{"name":"expoadmin","email":"exponent.team@gmail.com"},"dist":{"shasum":"ca0f3e0b447dcfe2db3d29a2f58682465d60c63d","size":2442,"noattachment":false,"key":"/@expo/spawn-async/-/@expo/spawn-async-1.2.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/@expo/spawn-async/download/@expo/spawn-async-1.2.8.tgz"},"maintainers":[{"name":"alanhughes","email":""},{"name":"brentvatne","email":"brentvatne@gmail.com"},{"name":"bycedric","email":"me@bycedric.com"},{"name":"evanbacon","email":"baconbrix@gmail.com"},{"name":"expo-bot","email":""},{"name":"expoadmin","email":""},{"name":"exponent","email":""},{"name":"ide","email":"ide+npm@jameside.com"},{"name":"kudochien","email":"ckchien@gmail.com"},{"name":"philpl","email":""},{"name":"tsapeta","email":"sapeta.tomasz@gmail.com"},{"name":"wschurman","email":"wschurman@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/spawn-async-1.2.8.tgz_1493350279436_0.8688941416330636"},"directories":{},"publish_time":1493350279677,"_hasShrinkwrap":false,"_cnpm_publish_time":1493350279677}},"readme":"# spawn-async [![Tests](https://github.com/expo/spawn-async/actions/workflows/main.yml/badge.svg)](https://github.com/expo/spawn-async/actions/workflows/main.yml)\n\nA cross-platform version of Node's `child_process.spawn` as an async function that returns a promise. Supports Node 12 LTS and up.\n\n## Usage:\n```js\nimport spawnAsync from '@expo/spawn-async';\n\n(async function () {\n  let resultPromise = spawnAsync('echo', ['hello', 'world']);\n  let spawnedChildProcess = resultPromise.child;\n  try {\n    let {\n      pid,\n      output: [stdout, stderr],\n      stdout,\n      stderr,\n      status,\n      signal,\n    } = await resultPromise;\n  } catch (e) {\n    console.error(e.stack);\n    // The error object also has the same properties as the result object\n  }\n})();\n```\n\n## API\n\n`spawnAsync` takes the same arguments as [`child_process.spawn`](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options). Its options are the same as those of `child_process.spawn` plus:\n\n- `ignoreStdio`: whether to ignore waiting for the child process's stdio streams to close before resolving the result promise. When ignoring stdio, the returned values for `stdout` and `stderr` will be empty strings. The default value of this option is `false`.\n\nIt returns a promise whose result is an object with these properties:\n\n- `pid`: the process ID of the spawned child process\n- `output`: an array with stdout and stderr's output\n- `stdout`: a string of what the child process wrote to stdout\n- `stderr`: a string of what the child process wrote to stderr\n- `status`: the exit code of the child process\n- `signal`: the signal (ex: `SIGTERM`) used to stop the child process if it did not exit on its own\n\nIf there's an error running the child process or it exits with a non-zero status code, `spawnAsync` rejects the returned promise. The Error object also has the properties listed above.\n\n### Accessing the child process\n\nSometimes you may want to access the child process object--for example, if you wanted to attach event handlers to `stdio` or `stderr` and process data as it is available instead of waiting for the process to be resolved.\n\nYou can do this by accessing `.child` on the Promise that is returned by `spawnAsync`.\n\nHere is an example:\n```js\n(async () => {\n  let ffmpeg$ = spawnAsync('ffmpeg', ['-i', 'path/to/source.flac', '-codec:a', 'libmp3lame', '-b:a', '320k', '-ar', '44100', 'path/to/output.mp3']);\n  let childProcess = ffmpeg$.child;\n  childProcess.stdout.on('data', (data) => {\n    console.log(`ffmpeg stdout: ${data}`);\n  });\n  childProcess.stderr.on('data', (data) => {\n    console.error(`ffmpeg stderr: ${data}`);\n  });\n  let result = await ffmpeg$;\n  console.log(`ffmpeg pid ${result.pid} exited with code ${result.code}`);\n})();\n\n```\n","_attachments":{},"homepage":"https://github.com/expo/spawn-async#readme","bugs":{"url":"https://github.com/expo/spawn-async/issues"},"license":"MIT"}