haystackjs
v0.0.28
Published
A JavaScript binding for gethaystack.co
Downloads
6
Readme
haystackjs
A JavaScript binding for haystack, Error Reporting for Humans
How to install
NPM
npm install --save haystackjs
Usage
- 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.