{"_id":"sync-rpc","_rev":"278686","name":"sync-rpc","description":"Run asynchronous commands synchronously by putting them in a separate process","dist-tags":{"latest":"1.3.6"},"maintainers":[{"name":"forbeslindesay","email":""}],"time":{"modified":"2023-09-20T17:54:19.000Z","created":"2017-06-06T12:17:08.174Z","1.3.6":"2019-07-24T14:32:26.785Z","1.3.5":"2019-07-24T14:29:58.100Z","1.3.4":"2018-05-14T09:07:34.452Z","1.3.3":"2018-03-02T17:14:49.931Z","1.3.2":"2018-03-02T13:06:33.966Z","1.3.1":"2018-02-09T18:23:31.140Z","1.3.0":"2018-02-09T18:22:08.132Z","1.2.3":"2018-02-01T11:13:23.552Z","1.2.2":"2018-01-31T15:25:41.710Z","1.2.1":"2018-01-31T15:24:29.204Z","1.2.0":"2018-01-31T13:39:45.414Z","1.1.1":"2017-07-09T02:38:00.007Z","1.1.0":"2017-06-06T13:39:20.423Z","1.0.0":"2017-06-06T12:17:08.174Z"},"users":{},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"versions":{"1.3.6":{"name":"sync-rpc","version":"1.3.6","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --write \"lib/**/*.js\"","prettier:check":"prettier --list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"75a57addbf39a4be2decbef0ac04dee2305bd8db","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.3.6","_nodeVersion":"12.7.0","_npmVersion":"6.10.0","dist":{"shasum":"b2e8b2550a12ccbc71df8644810529deb68665a7","size":5172,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.3.6.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.3.6.tgz"},"maintainers":[{"name":"forbeslindesay","email":""}],"_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc_1.3.6_1563978746590_0.0014291827458621231"},"_hasShrinkwrap":false,"publish_time":1563978746785,"_cnpm_publish_time":1563978746785,"_cnpmcore_publish_time":"2021-12-16T16:04:04.833Z"},"1.3.5":{"name":"sync-rpc","version":"1.3.5","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --write \"lib/**/*.js\"","prettier:check":"prettier --list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"c37361961b03c69fdb1c82c5bbb193a1ea900f34","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.3.5","_nodeVersion":"12.7.0","_npmVersion":"6.10.0","dist":{"shasum":"1784b38377b18497e5e0fba5b5c1a6b9a32225d3","size":4985,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.3.5.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.3.5.tgz"},"maintainers":[{"name":"forbeslindesay","email":""}],"_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc_1.3.5_1563978597968_0.9319843677053044"},"_hasShrinkwrap":false,"publish_time":1563978598100,"_cnpm_publish_time":1563978598100,"_cnpmcore_publish_time":"2021-12-16T16:04:05.039Z"},"1.3.4":{"name":"sync-rpc","version":"1.3.4","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"files":["lib/"],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --write \"lib/**/*.js\"","prettier:check":"prettier --list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"e0b4841970ef86ebc78a66438e3b311ab9638302","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.3.4","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"24bcbdb2ffcb98f23690c15b304660085cdd206c","size":4957,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.3.4.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.3.4.tgz"},"maintainers":[{"name":"forbeslindesay","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc_1.3.4_1526288854361_0.45787652304986315"},"_hasShrinkwrap":false,"publish_time":1526288854452,"_cnpm_publish_time":1526288854452,"_cnpmcore_publish_time":"2021-12-16T16:04:05.290Z"},"1.3.3":{"name":"sync-rpc","version":"1.3.3","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"files":["lib/"],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --write \"lib/**/*.js\"","prettier:check":"prettier --list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"27681f66e2bc33e259f516f144330dc700d78457","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.3.3","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"f72ec6da8aa6f1a7d4a69003711f528e275993f4","size":4850,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.3.3.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.3.3.tgz"},"maintainers":[{"name":"forbeslindesay","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc_1.3.3_1520010889884_0.4887394465201975"},"_hasShrinkwrap":false,"publish_time":1520010889931,"_cnpm_publish_time":1520010889931,"_cnpmcore_publish_time":"2021-12-16T16:04:05.537Z"},"1.3.2":{"name":"sync-rpc","version":"1.3.2","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"files":["lib/"],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --write \"lib/**/*.js\"","prettier:check":"prettier --list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"d3f7c702313c220f2bb7740a34eb1ae89f48a0d6","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.3.2","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"23ed60e25848cf51d70b55099661d25c135b2db7","size":4849,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.3.2.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.3.2.tgz"},"maintainers":[{"name":"forbeslindesay","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc_1.3.2_1519995993897_0.7334868538270607"},"_hasShrinkwrap":false,"publish_time":1519995993966,"_cnpm_publish_time":1519995993966,"_cnpmcore_publish_time":"2021-12-16T16:04:05.736Z"},"1.3.1":{"name":"sync-rpc","version":"1.3.1","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"files":["lib/"],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --write \"lib/**/*.js\"","prettier:check":"prettier --list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"67bf726a9ee3792f3518e121b9802166bbee2d3e","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.3.1","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"01f6206f6c265720a89c23c02942eb6c4ab3b1de","size":4835,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.3.1.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.3.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc_1.3.1_1518200610415_0.5965470199796559"},"_hasShrinkwrap":false,"publish_time":1518200611140,"_cnpm_publish_time":1518200611140,"_cnpmcore_publish_time":"2021-12-16T16:04:05.958Z"},"1.3.0":{"name":"sync-rpc","version":"1.3.0","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"files":["lib/"],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --write \"lib/**/*.js\"","prettier:check":"prettier --list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"fac325e57611c42fdfd198bd8e914dc6e6f5ce33","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.3.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"35e40456e007efe0c24317677771a308ee8a1cf0","size":4839,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.3.0.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.3.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc_1.3.0_1518200527440_0.7330966657581397"},"_hasShrinkwrap":false,"publish_time":1518200528132,"_cnpm_publish_time":1518200528132,"_cnpmcore_publish_time":"2021-12-16T16:04:06.181Z"},"1.2.3":{"name":"sync-rpc","version":"1.2.3","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"files":["lib/"],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --write \"lib/**/*.js\"","prettier:check":"prettier --list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"acb366454cffd3e6d44e6c19c12328a3892507f8","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.2.3","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"af56b789ff812d70038d72d2f2658e25f7c3d89b","size":4789,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.2.3.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.2.3.tgz"},"maintainers":[{"name":"forbeslindesay","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc-1.2.3.tgz_1517483602174_0.5023844463285059"},"directories":{},"publish_time":1517483603552,"_hasShrinkwrap":false,"_cnpm_publish_time":1517483603552,"_cnpmcore_publish_time":"2021-12-16T16:04:06.468Z"},"1.2.2":{"name":"sync-rpc","version":"1.2.2","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"files":["lib/"],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --write \"lib/**/*.js\"","prettier:check":"prettier --list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"332dc49a7b498ce6afdedb4e0782897ea7b3513a","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.2.2","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"e9646a3c291dda069ab04f221f3ed9f118e7bf09","size":4784,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.2.2.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.2.2.tgz"},"maintainers":[{"name":"forbeslindesay","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc-1.2.2.tgz_1517412341596_0.19788863835856318"},"directories":{},"publish_time":1517412341710,"_hasShrinkwrap":false,"_cnpm_publish_time":1517412341710,"_cnpmcore_publish_time":"2021-12-16T16:04:06.719Z"},"1.2.1":{"name":"sync-rpc","version":"1.2.1","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"files":["lib/"],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --write \"lib/**/*.js\"","prettier:check":"prettier--list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"aedb9a81a2a1a0a30ed86c155c0bef3815bcd601","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.2.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"01968696e83aaf469a8825f916ab7c700c8caac1","size":4760,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.2.1.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.2.1.tgz"},"maintainers":[{"name":"forbeslindesay","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc-1.2.1.tgz_1517412268306_0.6488662741612643"},"directories":{},"publish_time":1517412269204,"_hasShrinkwrap":false,"_cnpm_publish_time":1517412269204,"_cnpmcore_publish_time":"2021-12-16T16:04:07.000Z"},"1.2.0":{"name":"sync-rpc","version":"1.2.0","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"files":["lib/"],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --write \"lib/**/*.js\"","prettier:check":"prettier--list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"e1ecd469909861e073d13cb538ef9571fe7ba414","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"dist":{"shasum":"0ff48972958ed2dacca4746a44131f655ba7c7ff","size":4759,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.2.0.tgz"},"maintainers":[{"name":"forbeslindesay","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc-1.2.0.tgz_1517405985328_0.4530500106047839"},"directories":{},"publish_time":1517405985414,"_hasShrinkwrap":false,"_cnpm_publish_time":1517405985414,"_cnpmcore_publish_time":"2021-12-16T16:04:07.230Z"},"1.1.1":{"name":"sync-rpc","version":"1.1.1","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"files":["lib/"],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --single-quote --trailing-comma es5 --no-bracket-spacing --write \"lib/**/*.js\"","prettier:check":"prettier --single-quote --trailing-comma es5 --no-bracket-spacing --list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --single-quote --trailing-comma es5 --no-bracket-spacing --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"2804276e24699443c3208c6d94e28ce17bfb53a5","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.1.1","_shasum":"ef59ce75abe03668baa6867ab1b51b32b713d195","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":""}],"dist":{"shasum":"ef59ce75abe03668baa6867ab1b51b32b713d195","size":4733,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.1.1.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.1.1.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc-1.1.1.tgz_1499567879017_0.7072616701480001"},"directories":{},"publish_time":1499567880007,"_hasShrinkwrap":false,"_cnpm_publish_time":1499567880007,"_cnpmcore_publish_time":"2021-12-16T16:04:07.447Z"},"1.1.0":{"name":"sync-rpc","version":"1.1.0","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"files":["lib/"],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --single-quote --trailing-comma es5 --no-bracket-spacing --write \"lib/**/*.js\"","prettier:check":"prettier --single-quote --trailing-comma es5 --no-bracket-spacing --list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --single-quote --trailing-comma es5 --no-bracket-spacing --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"87d989c6597fe9371d2134fad0f465dfa12b6ba1","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.1.0","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":""}],"dist":{"shasum":"8bbcfd93f3b83acd91545c0c483567b584c207f1","size":4726,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.1.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc-1.1.0.tgz_1496756359496_0.43554901354946196"},"directories":{},"publish_time":1496756360423,"_hasShrinkwrap":false,"_cnpm_publish_time":1496756360423,"_cnpmcore_publish_time":"2021-12-16T16:04:07.672Z"},"1.0.0":{"name":"sync-rpc","version":"1.0.0","main":"lib/index.js","description":"Run asynchronous commands synchronously by putting them in a separate process","keywords":[],"files":["lib/"],"dependencies":{"get-port":"^3.1.0"},"devDependencies":{"husky":"*","jest":"*","lint-staged":"*","prettier":"*"},"scripts":{"precommit":"lint-staged","prettier":"prettier --single-quote --trailing-comma es5 --no-bracket-spacing --write \"lib/**/*.js\"","prettier:check":"prettier --single-quote --trailing-comma es5 --no-bracket-spacing --list-different \"lib/**/*.js\"","test":"jest --coverage","watch":"jest --coverage --watch"},"lint-staged":{"*.js":["prettier --single-quote --trailing-comma es5 --no-bracket-spacing --write","git add"]},"repository":{"type":"git","url":"git+https://github.com/ForbesLindesay/sync-rpc.git"},"author":{"name":"Forbes Lindesay","url":"http://github.com/ForbesLindesay"},"license":"MIT","gitHead":"5fadd01b97bd1a2d0c58e997ebe55cfc7d6dc36d","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","_id":"sync-rpc@1.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.0.0","_npmUser":{"name":"forbeslindesay","email":"forbes@lindesay.co.uk"},"maintainers":[{"name":"forbeslindesay","email":""}],"dist":{"shasum":"12ca29146b4186dc1b72ecca48fb0f555d097f7e","size":4680,"noattachment":false,"key":"/sync-rpc/-/sync-rpc-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/sync-rpc/download/sync-rpc-1.0.0.tgz"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sync-rpc-1.0.0.tgz_1496751427247_0.882086047437042"},"directories":{},"publish_time":1496751428174,"_hasShrinkwrap":false,"_cnpm_publish_time":1496751428174,"_cnpmcore_publish_time":"2021-12-16T16:04:07.916Z"}},"readme":"# sync-rpc\n\nRun asynchronous commands synchronously by putting them in a separate process\n\n[![Build Status](https://img.shields.io/travis/ForbesLindesay/sync-rpc/master.svg)](https://travis-ci.org/ForbesLindesay/sync-rpc)\n[![Dependency Status](https://img.shields.io/david/ForbesLindesay/sync-rpc/master.svg)](http://david-dm.org/ForbesLindesay/sync-rpc)\n[![NPM version](https://img.shields.io/npm/v/sync-rpc.svg)](https://www.npmjs.org/package/sync-rpc)\n\n## Installation\n\n```\nnpm install sync-rpc --save\n```\n\n## Usage\n\n### worker.js\n\n```js\nfunction init(connection) {\n  // you can setup any connections you need here\n  return function (message) {\n    // Note how even though we return a promise, the resulting rpc client will be synchronous\n    return Promise.resolve('sent ' + message + ' to ' + connection);\n  }\n}\nmodule.exports = init;\n```\n\n```js\nconst assert = require('assert');\nconst rpc = require('sync-rpc');\n\nconst client = rpc(__dirname + '/../test-worker.js', 'My Server');\n\nconst result = client('My Message');\n\nassert(result === 'sent My Message to My Server');\n```\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/ForbesLindesay/sync-rpc#readme","bugs":{"url":"https://github.com/ForbesLindesay/sync-rpc/issues"},"license":"MIT"}