{"id":19481771,"url":"https://github.com/apex/logs-js","last_synced_at":"2025-07-04T12:07:24.392Z","repository":{"id":62421525,"uuid":"279269855","full_name":"apex/logs-js","owner":"apex","description":"Apex Logs client for Node, Deno, and the browser","archived":false,"fork":false,"pushed_at":"2020-10-15T14:18:22.000Z","size":30,"stargazers_count":38,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-19T11:46:56.885Z","etag":null,"topics":["apex-logs","deno","denoland","javascript-library","logging","logs","typescript-library"],"latest_commit_sha":null,"homepage":"https://apex.sh/logs/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apex.png","metadata":{"files":{"readme":"Readme.md","changelog":"History.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-13T10:22:14.000Z","updated_at":"2023-10-16T23:44:02.000Z","dependencies_parsed_at":"2022-11-01T17:31:52.957Z","dependency_job_id":null,"html_url":"https://github.com/apex/logs-js","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/apex/logs-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apex%2Flogs-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apex%2Flogs-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apex%2Flogs-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apex%2Flogs-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apex","download_url":"https://codeload.github.com/apex/logs-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apex%2Flogs-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263507898,"owners_count":23477406,"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","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":["apex-logs","deno","denoland","javascript-library","logging","logs","typescript-library"],"created_at":"2024-11-10T20:06:29.987Z","updated_at":"2025-07-04T12:07:24.373Z","avatar_url":"https://github.com/apex.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\nJavaScript client for [Apex Logs](https://apex.sh/logs/) with support for Node.js, Deno, and the browser.\n\n## Installation\n\n```\nnpm install --save apex-logs\n```\n\n## Node\n\nHere's an example of usage in Node or the browser using the `apex-logs` NPM package:\n\n```js\nconst { Client } = require('apex-logs')\n\nconst client = new Client({\n  url: '\u003cENDPOINT\u003e',\n  authToken: '\u003cTOKEN\u003e'\n})\n\nasync function run() {\n  const { projects } = await client.getProjects()\n  console.log(projects)\n  \n  const { alerts } = await client.getAlerts({ projectId: 'production' })\n  console.log(alerts)\n}\n\nrun()\n```\n\n## Deno\n\nHere's an example of usage in Deno:\n\n```js\nimport { Client } from 'https://deno.land/x/apex_logs/client.ts'\n\nconst client = new Client({\n  url: '\u003cENDPOINT\u003e',\n  authToken: '\u003cTOKEN\u003e'\n})\n\nconst { projects } = await client.getProjects()\nconsole.log(projects)\n\nconst { alerts } = await client.getAlerts({ projectId: 'ping_production' })\nconsole.log(alerts)\n```\n\n\n## Resources\n\nTo learn more about Apex Logs visit the [documentation](https://apex.sh/docs/logs/), and to contribute to this client visit the [github.com/apex/rpc](https://github.com/apex/rpc/) project which is used to generate this client.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapex%2Flogs-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapex%2Flogs-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapex%2Flogs-js/lists"}