{"_id":"@jolt-us/repl","_rev":"45-8f5bb45dde4252d06037a8ba77a1de6b","name":"@jolt-us/repl","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@jolt-us/repl","version":"1.0.0","main":"dist/index.js","license":"MIT","scripts":{"build":"rm -rf dist; babel src --out-dir dist"},"devDependencies":{"babel-cli":"^6.24.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0"},"dependencies":{},"public":true,"gitHead":"d13d89cce7f549931172edfd5e4c29ac9882ae17","_id":"@jolt-us/repl@1.0.0","_shasum":"051a7231ec29cadde79e8f91d9a34eef11d737cb","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"nadav-dav","email":"nadavik@gmail.com"},"dist":{"shasum":"051a7231ec29cadde79e8f91d9a34eef11d737cb","tarball":"https://registry.npmjs.org/@jolt-us/repl/-/repl-1.0.0.tgz","integrity":"sha512-ga3REM1oHHheE25N0YNOPquHs+p1RnmBezsd36OmIeb+LE+zZT7PigqJCu1VRnai2T5z7yR5Vre+YHMHdCJBug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn4JIPZHYrie0eAbfw6b3/+LwVqt30eGTOS5ZfDGxoSAIhAOUPyapBl8YnsuvZEOb1d4HtAlSmmd+KdsLbA8OfqoJJ"}]},"maintainers":[{"name":"nadav-dav","email":"nadavik@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/repl-1.0.0.tgz_1490867929822_0.33055279590189457"},"directories":{}},"1.0.1":{"name":"@jolt-us/repl","version":"1.0.1","main":"dist/index.js","license":"MIT","scripts":{"build":"rm -rf dist; babel src --out-dir dist"},"repository":{"type":"git","url":"git+https://github.com/jolt-us/repl.git"},"devDependencies":{"babel-cli":"^6.24.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0"},"dependencies":{},"public":true,"gitHead":"c3c860e51d8e7190e7911898812fc35d3124a8f5","description":"Jolt's REPL lets you connect to a remote node process.","bugs":{"url":"https://github.com/jolt-us/repl/issues"},"homepage":"https://github.com/jolt-us/repl#readme","_id":"@jolt-us/repl@1.0.1","_shasum":"88db63510b3726537fd2efe747c526f8c2f6b66f","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"nadav-dav","email":"nadavik@gmail.com"},"dist":{"shasum":"88db63510b3726537fd2efe747c526f8c2f6b66f","tarball":"https://registry.npmjs.org/@jolt-us/repl/-/repl-1.0.1.tgz","integrity":"sha512-bDFQFyOKhrgxfIl+4Hr1waxH7dtsuFpWYKbs4BGUWlt4t5u8qJ8GqFXDfjjbXpMt+ZkTtN12ckq3+CgoadG6Ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFZSjy6zkoCzFz7IQON04o7gPKQTaxN8DiTgX6I51EaRAiBkxmRo0biLOXiBq3EyhVKWutjOCRCS6OSiInBB1KhNLQ=="}]},"maintainers":[{"name":"nadav-dav","email":"nadavik@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/repl-1.0.1.tgz_1490913376940_0.7135974769480526"},"directories":{}},"1.0.2":{"name":"@jolt-us/repl","version":"1.0.2","main":"dist/index.js","license":"MIT","scripts":{"build":"rm -rf dist; babel src --out-dir dist"},"repository":{"type":"git","url":"git+https://github.com/jolt-us/repl.git"},"devDependencies":{"babel-cli":"^6.24.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0"},"dependencies":{},"public":true,"gitHead":"72856fe02a06ec927256a3bcce86edb50a99dc6c","description":"Jolt's REPL lets you connect to a remote node process.","bugs":{"url":"https://github.com/jolt-us/repl/issues"},"homepage":"https://github.com/jolt-us/repl#readme","_id":"@jolt-us/repl@1.0.2","_shasum":"7efc776c8f7de162d31514a4373b4f14dd2694b1","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"nadav-dav","email":"nadavik@gmail.com"},"dist":{"shasum":"7efc776c8f7de162d31514a4373b4f14dd2694b1","tarball":"https://registry.npmjs.org/@jolt-us/repl/-/repl-1.0.2.tgz","integrity":"sha512-GEb/ig7xJUG65DJX8V7LHF01MJdknSGS9qybSJ9XLVbIJVUcDwSU6afbn/1LDqgRQphC04ccclBNWPmFjnBUfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgmPZLhZnHaqh75cAfmxWphtyXinh5JOKlvXUHIF61UwIhAPRjfvnUMCUEp8wa/X9Llwy1f9lWD5w4KrYv1Resx/Th"}]},"maintainers":[{"name":"nadav-dav","email":"nadavik@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/repl-1.0.2.tgz_1490951440867_0.09628146234899759"},"directories":{}}},"readme":"Jolt's REPL lets you connect to a remote node process.\n\n```\nnpm install @jolt-us/repl\n# OR\nyarn add @jolt-us/repl\n```\n\nStart with creating a connection to you system\n```javascript\n// index.js\nconst {Repl} = require(\"@jolt-us/repl\");\nconst repl = new Repl({\n   banner: \"Connected to REPL on '\"+process.env.NODE_ENV+\"'\",\n   context: {users: require('./users-for-example')}\n})\nrpl.listen();\n```\n\nAnd create a client:\n\n```javascript\n// repl.js\nconst {Repl} = require(\"@jolt-us/repl\");\nRepl.connect();\n```\n\nThe setup is complete!🤖\nNow let’s connect to the process using a secure shell connection!\n\n```bash\nssh 1.2.3.4 -t -c \"node /var/app/repl.js\"\nConnected to REPL on 'production'\n> users.activateUser(\"user-id\")\n```\n\nFun ain’t it?🎉\nWe have also added a custom behaviour — if you command returns a promise, it will wait for the promise to resolve, and only then print it out.\nAnd if the returned value is a function it will print out the `toString` value of it, so you can see its content.\n","maintainers":[{"email":"kevin.villanueva@jolt.io","name":"kvillanuevajolt"},{"email":"alon.alush@jolt.io","name":"alonzo246"}],"time":{"modified":"2023-05-01T11:10:38.023Z","created":"2017-03-30T09:58:50.493Z","1.0.0":"2017-03-30T09:58:50.493Z","1.0.1":"2017-03-30T22:36:17.500Z","1.0.2":"2017-03-31T09:10:42.816Z"},"license":"MIT","readmeFilename":"README.md","description":"Jolt's REPL lets you connect to a remote node process.","homepage":"https://github.com/jolt-us/repl#readme","repository":{"type":"git","url":"git+https://github.com/jolt-us/repl.git"},"bugs":{"url":"https://github.com/jolt-us/repl/issues"}}