{"_id":"errorify","_rev":"18-90ceee5240b9ee64bd5a29f1dfb59330","name":"errorify","description":"Browserify plugin to write failed build error messages to the output file","dist-tags":{"latest":"0.3.1"},"versions":{"0.0.1":{"name":"errorify","version":"0.0.1","description":"Browserify plugin to write failed build error messages to the output file","keywords":["build","browserify","browserify-plugin"],"homepage":"https://github.com/zertosh/errorify","licence":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"main":"errorify.js","repository":{"type":"git","url":"git://github.com/zertosh/errorify.git"},"scripts":{"test":"tape test/**/*-test.js"},"dependencies":{"through2":"^0.6.2"},"devDependencies":{"browserify":"^5.12.0","concat-stream":"^1.4.6","tape":"^3.0.0"},"engines":{"node":">=0.10"},"gitHead":"e8c6c917759eb41f727fc9a5da7fa523781daf3d","bugs":{"url":"https://github.com/zertosh/errorify/issues"},"_id":"errorify@0.0.1","_shasum":"387797526e22c2ded0e488e70d1b8aa193ca80fd","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"maintainers":[{"name":"zertosh","email":"zertosh@gmail.com"}],"dist":{"shasum":"387797526e22c2ded0e488e70d1b8aa193ca80fd","tarball":"https://registry.npmjs.org/errorify/-/errorify-0.0.1.tgz","integrity":"sha512-8pHNtEknplh7wDdA8XxXVrWoBx1KASNnz8s9y3wqOFWE9uGpMgec5GTj6JpZCiJT9usiWr+rlRhDZdADwRCxvQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEY3+EGc/RzKO5DblFtONodIe3veyQuW7lDpsdOj6DwRAiB36iZ2Mpuc0rmZOfArqvl3MR8S5DXYneCu7Kd7s2JKaA=="}]}},"0.0.2":{"name":"errorify","version":"0.0.2","description":"Browserify plugin to write failed build error messages to the output file","keywords":["build","browserify","browserify-plugin"],"homepage":"https://github.com/zertosh/errorify","licence":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"files":["README.md","errorify.js"],"main":"errorify.js","repository":{"type":"git","url":"git://github.com/zertosh/errorify.git"},"scripts":{"test":"tape test/**/*-test.js"},"dependencies":{"through2":"^0.6.3"},"devDependencies":{"browserify":"^9.0.3","concat-stream":"^1.4.7","tape":"^3.5.0"},"gitHead":"0aea5bb84a482521a5d073e2bb49f5555a5088e3","bugs":{"url":"https://github.com/zertosh/errorify/issues"},"_id":"errorify@0.0.2","_shasum":"41d8044b22d47349366df2320e824882ca4c4cd3","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"maintainers":[{"name":"zertosh","email":"zertosh@gmail.com"}],"dist":{"shasum":"41d8044b22d47349366df2320e824882ca4c4cd3","tarball":"https://registry.npmjs.org/errorify/-/errorify-0.0.2.tgz","integrity":"sha512-zT6svbuqv4bSBZi1riw2Z6/BjyIlzSPADh7xU3xUe401azOqCnt/RksaLEEZ/XY5+mbohqAPFCuyQ7OKV2WXuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHZrXQge1v1itzvYPe4ZclJsl3l0V4nBKp9V7f8nG8StAiEAuwESoFssIyNCtMJIXamK4iU7i714EdnPlOlr2D2K3WA="}]}},"0.1.0":{"name":"errorify","version":"0.1.0","description":"Browserify plugin to write failed build error messages to the output file","keywords":["build","browserify","browserify-plugin"],"homepage":"https://github.com/zertosh/errorify","licence":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"files":["README.md","errorify.js"],"main":"errorify.js","repository":{"type":"git","url":"git://github.com/zertosh/errorify.git"},"scripts":{"test":"tape test/**/*-test.js"},"dependencies":{"through2":"^0.6.3"},"devDependencies":{"browserify":"^9.0.3","concat-stream":"^1.4.7","tape":"^3.5.0"},"gitHead":"3741116822c0a695b5329d8ec3f8dfad72c8c911","bugs":{"url":"https://github.com/zertosh/errorify/issues"},"_id":"errorify@0.1.0","_shasum":"3856cdcdea2fe4064cd925827d6e3aefe78aa13c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"maintainers":[{"name":"zertosh","email":"zertosh@gmail.com"}],"dist":{"shasum":"3856cdcdea2fe4064cd925827d6e3aefe78aa13c","tarball":"https://registry.npmjs.org/errorify/-/errorify-0.1.0.tgz","integrity":"sha512-H6YEvK/BeTJusfgVCCm862wBxZJW/62tRo1KkE0SqTGIcetFxqb1TQtIRlyW1Qfl4uKndj7VzyA7qdtODTch1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkENqZuN/FSxmOIGB/hnxeCuIBjJew9N+wxJYyNDRW0wIgbd/TIZ156HldR/g2V8UtT8GTfFIzTkdwcRTADftBDJA="}]}},"0.2.0":{"name":"errorify","version":"0.2.0","description":"Browserify plugin to write failed build error messages to the output file","keywords":["build","browserify","browserify-plugin"],"homepage":"https://github.com/zertosh/errorify","licence":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"files":["README.md","errorify.js"],"main":"errorify.js","repository":{"type":"git","url":"git://github.com/zertosh/errorify.git"},"scripts":{"test":"tape test/**/*-test.js"},"dependencies":{"through2":"^0.6.3"},"devDependencies":{"browserify":"^9.0.3","concat-stream":"^1.4.7","tape":"^3.5.0"},"gitHead":"4564a2c3785444cbf908ecc682dfe9a31463ff2f","bugs":{"url":"https://github.com/zertosh/errorify/issues"},"_id":"errorify@0.2.0","_shasum":"a106c5f285990c2fa1d76b54d64bbe7e97f5de15","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"maintainers":[{"name":"zertosh","email":"zertosh@gmail.com"}],"dist":{"shasum":"a106c5f285990c2fa1d76b54d64bbe7e97f5de15","tarball":"https://registry.npmjs.org/errorify/-/errorify-0.2.0.tgz","integrity":"sha512-yuvam4iCv5I5f3MofV03RyeaEBE6wYLYqVm4pnkfURiZE+iM9+CTY+rEhWIrQm7bYotGO7YvRA3QsWzpKHFtDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD031JnmVuqO9haL4p1tualFSw5+MgyJ8JMdk/fx5tFwwIgBI7PBU39C8f0OKYsM8yzJ3CD0hLsZix6fTkYurgRVuQ="}]}},"0.2.1":{"name":"errorify","version":"0.2.1","description":"Browserify plugin to write failed build error messages to the output file","keywords":["build","browserify","browserify-plugin"],"homepage":"https://github.com/zertosh/errorify","licence":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"files":["README.md","errorify.js"],"main":"errorify.js","repository":{"type":"git","url":"git://github.com/zertosh/errorify.git"},"scripts":{"test":"tape test/**/*-test.js"},"dependencies":{"through2":"^0.6.3"},"devDependencies":{"browserify":"^9.0.3","concat-stream":"^1.4.7","tape":"^3.5.0"},"gitHead":"312b36f588354c211032dae803ee14d3cf38f05b","bugs":{"url":"https://github.com/zertosh/errorify/issues"},"_id":"errorify@0.2.1","_shasum":"80d89e145503bd88fc27cd9a582dddc9c569eea6","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"maintainers":[{"name":"zertosh","email":"zertosh@gmail.com"}],"dist":{"shasum":"80d89e145503bd88fc27cd9a582dddc9c569eea6","tarball":"https://registry.npmjs.org/errorify/-/errorify-0.2.1.tgz","integrity":"sha512-M730iAp+EQzWfGb3P5Y3GqNlle+POcx0n61zqVziM2oEeJSo+eC81LVtyX4zZC31mmH0pVMa24F5tBG7fsgtmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpCeFBHkVvk+6WLH9qppQjblVFIr0CObV11kdj2APCSwIgZHHT0iGCmHyVuBam/+8EJx0lS2LBRU+R/DpPwRvK+eg="}]}},"0.2.2":{"name":"errorify","version":"0.2.2","description":"Browserify plugin to write failed build error messages to the output file","keywords":["build","browserify","browserify-plugin"],"homepage":"https://github.com/zertosh/errorify","licence":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"files":["README.md","errorify.js"],"main":"errorify.js","repository":{"type":"git","url":"git://github.com/zertosh/errorify.git"},"scripts":{"test":"tape test/**/*-test.js"},"dependencies":{"through2":"^0.6.3"},"devDependencies":{"browserify":"^9.0.3","concat-stream":"^1.4.7","tape":"^3.5.0"},"gitHead":"dc59b333673d46bb777cdc0700a926978c437f39","bugs":{"url":"https://github.com/zertosh/errorify/issues"},"_id":"errorify@0.2.2","_shasum":"d550238901cd762ec47dfb25bed43651b782b852","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"maintainers":[{"name":"zertosh","email":"zertosh@gmail.com"}],"dist":{"shasum":"d550238901cd762ec47dfb25bed43651b782b852","tarball":"https://registry.npmjs.org/errorify/-/errorify-0.2.2.tgz","integrity":"sha512-4nF6ZI4YYJsvdzZ7olanFMY7GM9ySOxhvR/8uY/quF4frgx0Gz+HfZR5/qlG3SZi94Uwb25lxrYzXhvL8chO5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGLrC+IondSr4jaDC3nCwwVU8+LdzouZlmZkGop9w52IAiEA1XWK2Op+jMj7HViq6+xal0uKR1+9NQOMmhwGfm3NYCg="}]}},"0.2.3":{"name":"errorify","version":"0.2.3","description":"Browserify plugin to write failed build error messages to the output file","keywords":["build","browserify","browserify-plugin"],"homepage":"https://github.com/zertosh/errorify","licence":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"files":["README.md","errorify.js"],"main":"errorify.js","repository":{"type":"git","url":"git://github.com/zertosh/errorify.git"},"scripts":{"test":"tape test/**/*-test.js"},"dependencies":{"through2":"^0.6.3"},"devDependencies":{"browserify":"^9.0.3","concat-stream":"^1.4.7","tape":"^3.5.0"},"gitHead":"82e813ab95c381a3f321ac5ab062aa6dafc096a7","bugs":{"url":"https://github.com/zertosh/errorify/issues"},"_id":"errorify@0.2.3","_shasum":"5ed7d7afade364a07322de1ff7281577fc3695ac","_from":".","_npmVersion":"2.7.6","_nodeVersion":"0.10.32","_npmUser":{"name":"mattdesl","email":"dave.des@gmail.com"},"dist":{"shasum":"5ed7d7afade364a07322de1ff7281577fc3695ac","tarball":"https://registry.npmjs.org/errorify/-/errorify-0.2.3.tgz","integrity":"sha512-5VZaVf5FJ2FSFuAbw94qb8PDQghqDPIewl72v43wiLE9lFMcKmQRRkvFqWHWgfB1MioRyBG/s7Y7F/xbG+FwTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID7W/P5XWzS4NQkLO5XLIpcwg4hCpRXlv/n4oV4qK0EUAiAGCljkrzNr2lcHCdI9M/vTXVRti0CjYWeGuL93/1dTXQ=="}]},"maintainers":[{"name":"zertosh","email":"zertosh@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"}]},"0.2.4":{"name":"errorify","version":"0.2.4","description":"Browserify plugin to write failed build error messages to the output file","keywords":["build","browserify","browserify-plugin"],"homepage":"https://github.com/zertosh/errorify","licence":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"files":["README.md","errorify.js"],"main":"errorify.js","repository":{"type":"git","url":"git://github.com/zertosh/errorify.git"},"scripts":{"test":"tape test/**/*-test.js"},"dependencies":{"through2":"^0.6.3"},"devDependencies":{"browserify":"^9.0.3","concat-stream":"^1.4.7","tape":"^3.5.0"},"gitHead":"d082af5e5b4aab392f1651e9d5fb3e84df8682fb","bugs":{"url":"https://github.com/zertosh/errorify/issues"},"_id":"errorify@0.2.4","_shasum":"e5198f66271afb5c62817bc2f56bc42b02ee1833","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"maintainers":[{"name":"zertosh","email":"zertosh@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"e5198f66271afb5c62817bc2f56bc42b02ee1833","tarball":"https://registry.npmjs.org/errorify/-/errorify-0.2.4.tgz","integrity":"sha512-WPhJODbC/eAmutP0QSv9LFBD+682abN/eX5wF5856c7dK7a9IIXg5vy2Zq44JQ6sfOfBzXmzoimADt67g53Nvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkIXSW37eBGqNI+LPTgCwj6toyaxdpBJORD3tZOm06cwIhALAbKDcFl3wthUPccKCzkOqEGkfZhb2FK9PXooqx37OV"}]}},"0.3.0":{"name":"errorify","version":"0.3.0","description":"Browserify plugin to write failed build error messages to the output file","keywords":["build","browserify","browserify-plugin"],"homepage":"https://github.com/zertosh/errorify","license":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"files":["README.md","errorify.js"],"main":"errorify.js","repository":{"type":"git","url":"git://github.com/zertosh/errorify.git"},"scripts":{"test":"tap test/*.js"},"devDependencies":{"browserify":"^11.0.1","concat-stream":"^1.4.7","tap":"^1.3.2","through2":"^0.6.3"},"gitHead":"88310978805fe9fda4a193f7b642ee68c1f9157e","bugs":{"url":"https://github.com/zertosh/errorify/issues"},"_id":"errorify@0.3.0","_shasum":"3552deb156fb1ea84217707c01cb910ffcce4e58","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"maintainers":[{"name":"zertosh","email":"zertosh@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"3552deb156fb1ea84217707c01cb910ffcce4e58","tarball":"https://registry.npmjs.org/errorify/-/errorify-0.3.0.tgz","integrity":"sha512-E75XYiJdbKqcTPh4vuQL4ACN1ONRK58xszDrSDkq4XdIfU+kS7ayXP+968z93bIiz5IV4rDld/G9qoTdYnOb0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC8PIxF6oca4mItirL2q75UDQUequ3DVJhKGLLe9OB/CAiEAwLOiF3amlZYfdp17A7OyN6a2yS73FIjHbQDbQnT0XTU="}]}},"0.3.1":{"name":"errorify","version":"0.3.1","description":"Browserify plugin to write failed build error messages to the output file","keywords":["build","browserify","browserify-plugin"],"homepage":"https://github.com/zertosh/errorify","license":"MIT","author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"files":["README.md","errorify.js"],"main":"errorify.js","repository":{"type":"git","url":"git://github.com/zertosh/errorify.git"},"scripts":{"test":"tap test/*.js"},"devDependencies":{"browserify":"^11.0.1","concat-stream":"^1.4.7","tap":"^1.3.2","through2":"^0.6.3"},"gitHead":"78fc072e5a29e45f9f776d506d687707857a5977","bugs":{"url":"https://github.com/zertosh/errorify/issues"},"_id":"errorify@0.3.1","_shasum":"53e0aaeeb18adc3e55f9f1eb4e2d95929f41b79b","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"zertosh","email":"zertosh@gmail.com"},"maintainers":[{"name":"zertosh","email":"zertosh@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"}],"dist":{"shasum":"53e0aaeeb18adc3e55f9f1eb4e2d95929f41b79b","tarball":"https://registry.npmjs.org/errorify/-/errorify-0.3.1.tgz","integrity":"sha512-EdgecAQqJo61YgPSTZqKqUyMHWpLBVB6ANDUezENz9ijtDXM4pMeVW+QC2ytndmi7DsHjn97vMgHA+OrrnXwUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGet1B/VLgXNXWcFfE/ISe5C5degLQPTJrXaeXt8LX83AiBEHldAKuAttHcKg+L36G7uuyhBudksez9YrXaj9CoA+Q=="}]}}},"readme":"# errorify\n\nA [browserify](https://github.com/substack/node-browserify) plugin that writes the error message of a failed build to the output file, rendering it in the browser.\n\n[![Build Status](https://travis-ci.org/zertosh/errorify.svg?branch=master&style=flat)](https://travis-ci.org/zertosh/errorify)\n\n## Example\n\n```sh\nwatchify index.js -o bundle.js -p errorify\n```\n\nAfter adding the plugin to your `browserify` instance, `errorify` prevents `bundle()` from emitting `error`'s. All errors are trapped, including: invalid syntax in the source, a missing dependency, a failed transform, etc. When the error message is written to the output file, it is written to the DOM in a `<pre>` tag (or `console.error` if we are not in a browser environment). \n\nDuring development, it might look like this: \n\n![es6](http://i.imgur.com/Pen6bYu.png)\n\nOnly the `bundle()` stream is rewritten. If you pass in a callback, it'll get the expected `err` and `body` arguments.\n\n`errorify` is meant to be used with something like [watchify](https://github.com/substack/watchify). It saves you a trip to the terminal to see why a build failed.\n\nKeep in mind that since errors are no longer emitted, all builds appear \"successful\". Careful not to deploy broken code.\n\n_Note: Only tested with Browserify 9+_\n\n## Usage\n\n### API\n\n```js\nvar browserify = require('browserify');\nvar errorify = require('errorify');\nvar b = browserify({ /*...*/ });\nb.plugin(errorify, /* errorify options */);\n```\n\n#### Options\n\n* `replacer` _(optional)_ is a function that takes an error as its first argument, and returns a string that will be used as the output bundle.\n\n### CLI\n\nAfter installing `errorify` as a local devDependency, you can use the `--plugin` or `-p` option like so:\n\n```sh\nwatchify index.js -o bundle.js -p errorify\n```\n\n### CSS Customization\n\nThe added `<pre>` tag has the class name `errorify`, so you can customize errors in your page like so:\n\n```css\nbody > .errorify {\n  color: red;\n  font-family: 'Consolas', monospace;\n  padding: 5px 10px;\n}\n```\n\n## License\n\nMIT.\n","maintainers":[{"name":"zertosh","email":"zertosh@gmail.com"},{"name":"mattdesl","email":"dave.des@gmail.com"}],"time":{"modified":"2022-06-17T08:27:39.826Z","created":"2014-09-28T04:15:22.059Z","0.0.1":"2014-09-28T04:15:22.059Z","0.0.2":"2015-03-21T18:35:58.680Z","0.1.0":"2015-03-23T00:03:11.870Z","0.2.0":"2015-03-23T02:25:09.304Z","0.2.1":"2015-04-07T03:40:32.903Z","0.2.2":"2015-04-09T02:55:41.783Z","0.2.3":"2015-04-10T14:25:30.339Z","0.2.4":"2015-04-11T01:49:05.590Z","0.3.0":"2015-08-03T03:07:30.105Z","0.3.1":"2015-08-06T21:57:07.958Z"},"homepage":"https://github.com/zertosh/errorify","keywords":["build","browserify","browserify-plugin"],"repository":{"type":"git","url":"git://github.com/zertosh/errorify.git"},"author":{"name":"Andres Suarez","email":"zertosh@gmail.com"},"bugs":{"url":"https://github.com/zertosh/errorify/issues"},"readmeFilename":"README.md","license":"MIT","users":{"klaemo":true}}