A JavaScript binding for haystack, Error Reporting for Humans
npm install --save haystackjs
- Just import your local copy of haystack
- Then configure it with the token we gave you
<script src="path/to/haystack/dist/index.js">
</script>
<script>
Haystack.configure({
projectName: 'Name of your awesome project',
token: <Your given token>
});
</script>
Nice! Now you should be receiving any errors from your site or app in your inbox.