{"_id":"@adam_baldwin/module-fs-changes","_rev":"4-8d83bdca7761304540b390a9567477a8","name":"@adam_baldwin/module-fs-changes","description":"Use Docker to get file system changes when npm installing a module","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@adam_baldwin/module-fs-changes","version":"1.0.0","description":"Use Docker to get file system changes when npm installing a module","main":"index.js","bin":{"get-changes":"bin/get-changes"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Adam Baldwin"},"license":"","dependencies":{"dockerode":"^2.0.7"},"devDependencies":{"code":"^1.3.0","lab":"^5.2.1"},"gitHead":"277db61eb8256efc0dfb3e437ef173f40327671a","_id":"@adam_baldwin/module-fs-changes@1.0.0","_shasum":"f81979ff915d98d12710a32d3831771a3d6c06a5","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"adam_baldwin","email":"baldwin@andyet.net"},"dist":{"shasum":"f81979ff915d98d12710a32d3831771a3d6c06a5","tarball":"https://registry.npmjs.org/@adam_baldwin/module-fs-changes/-/module-fs-changes-1.0.0.tgz","integrity":"sha512-4klxej9mH+lT/Dasjg39FRgBhzhzj0FHGTmotgzc+eqKzuRVA+QzvILNUQYUreHYPaemhw4ExeeSqBVEzGwj1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID++fyjtgL7wGv+Ic9HgwbCZX16xGETik2siC3qw/ND9AiEArrU6QbX78a5muZ5WzYH+LfboJDJUC2LlNYoC7Kk1SoY="}]},"maintainers":[{"name":"adam_baldwin","email":"baldwin@andyet.net"}]},"1.0.1":{"name":"@adam_baldwin/module-fs-changes","version":"1.0.1","description":"Use Docker to get file system changes when npm installing a module","main":"index.js","bin":{"get-changes":"bin/get-changes"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Adam Baldwin"},"license":"","dependencies":{"dockerode":"^2.0.7"},"devDependencies":{"code":"^1.3.0","lab":"^5.2.1"},"gitHead":"d73b73f23cc47a6f03da308a940568ce28f7794c","_id":"@adam_baldwin/module-fs-changes@1.0.1","_shasum":"499051271d61770df8b578eee057e1bd9ea0e44d","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"adam_baldwin","email":"baldwin@andyet.net"},"dist":{"shasum":"499051271d61770df8b578eee057e1bd9ea0e44d","tarball":"https://registry.npmjs.org/@adam_baldwin/module-fs-changes/-/module-fs-changes-1.0.1.tgz","integrity":"sha512-3c88g0TvFupNth2P/qs9P4xwdRDQ8IMITQYMYVDJhp2bKYV8mK/UUeGtq/7XVDWNRcrqWcwnw1e8Q3XVislVkw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDneDIg/Kmy/0OzCIzc+yMwMDbysRI/Pu6OdWDXB5VHbwIgXuPA6tPYeBcd/x1yl3g84ZaZYlXFPhmNuFkD/fnZqzo="}]},"maintainers":[{"name":"adam_baldwin","email":"baldwin@andyet.net"}]}},"readme":"# Overview\nExecutes npm i module_name in a docker container and returns file system changes\n\nExample Usage\n```\nvar Docker = require('dockerode');\nvar docker = new Docker({socketPath: '/var/run/docker.sock'});\nvar getChanges = require('./index.js');\n\ngetChanges(docker, 'node', 'helmet', function (err, changes) {\n    console.log(changes);\n});\n```\n\nReturned changes object includes the following keys, which are each an array of files that were added, modified or deleted.\n- modified\n- added\n- deleted\n\n\n## Options\ngetChanges requires the following options\n\n- docker - connection to dockerode\n- image - name of the image that you want to run npm i module against\n- module_name - can be a module_name or module_name@version\n- callback - function with the signature (err, changes)\n\n\n## scripts\nTo clean up after ourselves we have a scripts/cleanup.sh that will remove images that are lingering. May or may not be useful.\n","maintainers":[{"name":"adam_baldwin","email":"baldwin@andyet.net"}],"time":{"modified":"2022-06-12T14:17:30.203Z","created":"2015-06-06T19:54:04.169Z","1.0.0":"2015-06-06T19:54:04.169Z","1.0.1":"2015-06-07T23:35:16.698Z"},"author":{"name":"Adam Baldwin"},"readmeFilename":"README.md"}