{"id":32374749,"url":"https://github.com/gibraltarsoftware/gibraltar.agent.web.javascript","last_synced_at":"2025-10-24T22:42:35.982Z","repository":{"id":23493950,"uuid":"26859295","full_name":"GibraltarSoftware/Gibraltar.Agent.Web.JavaScript","owner":"GibraltarSoftware","description":"Gibraltar Loupe Agent for JavaScript and Angular","archived":false,"fork":false,"pushed_at":"2017-02-15T11:25:34.000Z","size":1894,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-03-27T05:51:50.328Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.gibraltarsoftware.com/Loupe","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GibraltarSoftware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-19T11:56:12.000Z","updated_at":"2015-12-04T17:02:55.000Z","dependencies_parsed_at":"2022-08-22T00:31:18.571Z","dependency_job_id":null,"html_url":"https://github.com/GibraltarSoftware/Gibraltar.Agent.Web.JavaScript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GibraltarSoftware/Gibraltar.Agent.Web.JavaScript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GibraltarSoftware%2FGibraltar.Agent.Web.JavaScript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GibraltarSoftware%2FGibraltar.Agent.Web.JavaScript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GibraltarSoftware%2FGibraltar.Agent.Web.JavaScript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GibraltarSoftware%2FGibraltar.Agent.Web.JavaScript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GibraltarSoftware","download_url":"https://codeload.github.com/GibraltarSoftware/Gibraltar.Agent.Web.JavaScript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GibraltarSoftware%2FGibraltar.Agent.Web.JavaScript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280878345,"owners_count":26406642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-24T22:42:31.809Z","updated_at":"2025-10-24T22:42:35.975Z","avatar_url":"https://github.com/GibraltarSoftware.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Loupe Agent for JavaScript\n==========================\n\nLoupe has 2 JavaScript agents:\n\n * A native JavaScript agent which uses vanilla JavaScript with no dependencies on any frameworks\n * An Angular 1.x agent which has been designed to work specifically with Angular \n\nThese agents bring a lot of the familiar Loupe Agent functionality to client side logging, recording uncaught exceptions and allowing you to \nlog messages from your JavaScript code to Loupe.\n\nWhen combined with the [Loupe Agent for ASP.NET MVC](http://www.nuget.org/packages/Gibraltar.Agent.Web.Mvc/) or [Loupe Agent for ASP.NET WebForms](https://www.nuget.org/packages/Gibraltar.Agent.Web/) \nthese agents will allow you to correlate the actions your user performs client side with the corresponding server side processing giving you a better insight into end to end functionality.\n\nUsing an Agent\n---------------\nTo use one of these agents you need to include the required script from the dist folder from either [Native](https://github.com/GibraltarSoftware/Gibraltar.Agent.Web.JavaScript/tree/master/Native/dist) \nor [Angular](https://github.com/GibraltarSoftware/Gibraltar.Agent.Web.JavaScript/tree/master/Angular/dist) depending on which agent you require.\n\nThe agents are designed to send log information to a server which handles logging to a Loupe server; if you are using ASP.Net (MVC or WebForms) \u0026 IIS you can use the \n[Loupe.Web.Module](https://www.nuget.org/packages/Loupe.Agent.Web.Module/) which will handle all of the server side interaction for you. \n\nIf you are not using ASP.Net \u0026 IIS you will need to create your own endpoint for receiving the messages and if this is something you want to do please reach out to us so we can help with message formats, etc\n\nTo get more information on how the agents work head to the [wiki](https://github.com/GibraltarSoftware/Gibraltar.Agent.Web.JavaScript/wiki) which explains\nthe functionality the agents support and how to use it.\n\nBuilding the Agent from source\n------------------------------\n\nThe agents have been built using node, npm and grunt.\n\nYou will need to have installed Node (version \u003e 0.10), which will also mean you will have npm, and then install grunt using npm with\nthe command `npm install -g grunt-cli`.\n\nFirst clone the repo to your local machine then open a command prompt at the respective agent folder e.g. C:\\Github\\Gibraltar.Agent.Web.JavaScript\\Native, issue\nthe command `npm install` this will then install all the necessary modules to be able to build the agent.\n\nOnce npm install has finished if you run `grunt test` it will execute the jasmine specs so you can be sure that the code is working as expected.\n\nContributing\n------------\n\nFeel free to branch this project and contribute a pull request to the development branch. \nIf your changes are incorporated into the master version they'll be published out for everyone to use!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgibraltarsoftware%2Fgibraltar.agent.web.javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgibraltarsoftware%2Fgibraltar.agent.web.javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgibraltarsoftware%2Fgibraltar.agent.web.javascript/lists"}