{"_id":"detect-conflicts","_rev":"5-8e71322c3900b4a5ec57163c79c2dd31","name":"detect-conflicts","description":"Check for conflicts, and get prompted for action (when needed), before writing a file to disk.","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"detect-conflicts","description":"Check for conflicts, and get prompted for action (when needed), before writing a file to disk.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/detect-conflicts","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/detect-conflicts.git"},"bugs":{"url":"https://github.com/jonschlinkert/detect-conflicts/issues"},"license":"MIT","files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ansi-bold":"^0.1.1","ansi-cyan":"^0.1.1","ansi-gray":"^0.1.1","ansi-green":"^0.1.1","ansi-red":"^0.1.1","ansi-yellow":"^0.1.1","diff":"^1.4.0","error-symbol":"^0.1.0","inquirer":"^0.9.0","is-binary":"^0.1.0","lazy-cache":"^0.1.0","success-symbol":"^0.1.0","warning-symbol":"^0.1.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["check","compare","comparison","conflict","conflicts","content","contents","detect","diff","file","filepath","string","verify"],"verb":{"related":{"list":["yeoman-generator","snippet","assemble","template"]}},"gitHead":"be4870435f60c489e793634db593d878c3d62eac","_id":"detect-conflicts@0.1.0","_shasum":"19e415d91ce0322a2cd89c1dde00e103140db627","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"19e415d91ce0322a2cd89c1dde00e103140db627","tarball":"https://registry.npmjs.org/detect-conflicts/-/detect-conflicts-0.1.0.tgz","integrity":"sha512-VLmiCgpOBwshDxShE7bLRb/7zOQ9ogG3u/S9pnMkK2caTWusm5dqqcqc5f/0p/m3ACxgsg17f58Aer0voI/7Mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3AcMRLmnEJQfckVXuno2I991TjeC6pJdyJc7EEcOm6gIgI5qNyemVN/higJ3yLik19RVLbsQXQMguMyn386XrNlk="}]},"directories":{}},"0.1.1":{"name":"detect-conflicts","description":"Check for conflicts, and get prompted for action (when needed), before writing a file to disk.","version":"0.1.1","homepage":"https://github.com/jonschlinkert/detect-conflicts","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/detect-conflicts.git"},"bugs":{"url":"https://github.com/jonschlinkert/detect-conflicts/issues"},"license":"MIT","files":["index.js","lib/"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"ansi-bold":"^0.1.1","ansi-cyan":"^0.1.1","ansi-gray":"^0.1.1","ansi-green":"^0.1.1","ansi-red":"^0.1.1","ansi-yellow":"^0.1.1","diff":"^2.0.2","error-symbol":"^0.1.0","inquirer":"^0.9.0","is-binary":"^0.1.0","lazy-cache":"^0.2.2","success-symbol":"^0.1.0","warning-symbol":"^0.1.0"},"devDependencies":{"mocha":"*","should":"*"},"keywords":["check","compare","comparison","conflict","conflicts","content","contents","detect","diff","file","filepath","string","verify"],"verb":{"related":{"list":["yeoman-generator","snippet","assemble","template"]}},"gitHead":"06439d78e460aa5acf08efb46d1989afe626096b","_id":"detect-conflicts@0.1.1","_shasum":"8789aebab95d525fe3515ac0382287267523186d","_from":".","_npmVersion":"2.10.1","_nodeVersion":"0.12.4","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"8789aebab95d525fe3515ac0382287267523186d","tarball":"https://registry.npmjs.org/detect-conflicts/-/detect-conflicts-0.1.1.tgz","integrity":"sha512-dYRNrwG+nwyWqEvkDKt/XZ9eh077uEVq3wE8Fla/85F6R09RLnpOgFn110f74lFhDxvGGw48NdM1Gl9eYspyiw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5JHnXPXOjwFj0Y3vlfxV+mG02bdsDAhRnd7bU5PPvOgIhAL0w9+DE/IntKKq9WfMUZ7XXbvGq9TmGt1traYvSVOWB"}]},"directories":{},"deprecated":"Package has been renamed to conflicts, please use that instead."}},"readme":"# detect-conflicts [![NPM version](https://badge.fury.io/js/detect-conflicts.svg)](http://badge.fury.io/js/detect-conflicts)\n\n> Check for conflicts, and get prompted for action (when needed), before writing a file to disk.\n\nSome of this code is based on the [conflicter in yeoman-generator](https://github.com/yeoman/generator) and the [visual diff method in verb](https://github.com/verbose/verb).\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm i detect-conflicts --save\n```\n\n## Usage\n\n```js\nvar detect = require('detect-conflicts');\n\nvar file = {path: 'fixtures/a.txt', contents: 'aaa'};\ndetect(file, function (res) {\n  // `res` would be a user response. we'll only get to this\n  // point if the user chooses not to abort. \n});\n```\n\n## Related projects\n\n* [assemble](http://assemble.io): Static site generator for Grunt.js, Yeoman and Node.js. Used by Zurb Foundation, Zurb Ink, H5BP/Effeckt,… [more](http://assemble.io)\n* [snippet](https://github.com/jonschlinkert/snippet): CLI and API for easily creating, reusing, sharing and generating snippets of code from the… [more](https://github.com/jonschlinkert/snippet)\n* [template](https://github.com/jonschlinkert/template): Render templates using any engine. Supports, layouts, pages, partials and custom template types. Use template… [more](https://github.com/jonschlinkert/template)\n* [yeoman-generator](http://yeoman.io): Rails-inspired generator system that provides scaffolding for your apps\n\n## Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm i -d && npm test\n```\n\n## Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/detect-conflicts/issues/new)\n\n## Author\n\n**Jon Schlinkert**\n\n+ [github/jonschlinkert](https://github.com/jonschlinkert)\n+ [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n## License\n\nCopyright © 2015 Jon Schlinkert\n[BSD license](http://opensource.org/licenses/bsd-license.php)\nCopyright (c) Google\nReleased under the MIT license.\n\n***\n\n_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on August 19, 2015._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-15T01:54:06.911Z","created":"2015-08-07T18:21:32.941Z","0.1.0":"2015-08-07T18:21:32.941Z","0.1.1":"2015-08-19T20:45:39.213Z"},"homepage":"https://github.com/jonschlinkert/detect-conflicts","keywords":["check","compare","comparison","conflict","conflicts","content","contents","detect","diff","file","filepath","string","verify"],"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/detect-conflicts.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/jonschlinkert/detect-conflicts/issues"},"license":"MIT","readmeFilename":"README.md"}