Skip to content

npm package for JS agent #27

Description

@ledermann

For JS error tracking, it is necessary to load the agent from your CDN:

<script src="https://cdn.rorvswild.com/agent.js"></script>
<script type="text/javascript">RorVsWild.start({apiKey: "YOUR_API_KEY"})
</script>

To minimize requests to external servers, I prefer loading JS from my own server (or my own CDN). A connection to your API should only be required in case of an error, not for every single page load. Ok, I could set up a proxy for loading the agent. But ideally, the agent is part of my app's JavaScript bundle.

Do you have any plans to provide a npm package for agent.js and stracktrace.js?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions