{"id":26350205,"url":"https://github.com/scopeo-tech/scopeo-package","last_synced_at":"2025-03-16T09:30:05.684Z","repository":{"id":278896762,"uuid":"936602910","full_name":"scopeo-tech/scopeo-package","owner":"scopeo-tech","description":"Track errors, verify API keys, and gather real-time data with an integrated agent. Built to enhance your project’s stability and performance.","archived":false,"fork":false,"pushed_at":"2025-03-11T03:44:26.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"beta","last_synced_at":"2025-03-11T04:29:42.392Z","etag":null,"topics":["agent-based","express","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scopeo-tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-21T11:17:48.000Z","updated_at":"2025-03-11T03:44:30.000Z","dependencies_parsed_at":"2025-02-22T12:18:56.742Z","dependency_job_id":"88b5293b-66b1-4e63-9376-cabb5bd2c3de","html_url":"https://github.com/scopeo-tech/scopeo-package","commit_stats":null,"previous_names":["scopeo-tech/scopeo-package"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scopeo-tech%2Fscopeo-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scopeo-tech%2Fscopeo-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scopeo-tech%2Fscopeo-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scopeo-tech%2Fscopeo-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scopeo-tech","download_url":"https://codeload.github.com/scopeo-tech/scopeo-package/tar.gz/refs/heads/beta","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852038,"owners_count":20358260,"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":["agent-based","express","nodejs","typescript"],"created_at":"2025-03-16T09:30:05.076Z","updated_at":"2025-03-16T09:30:05.612Z","avatar_url":"https://github.com/scopeo-tech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project Monitoring Library\n\n![npm](https://img.shields.io/npm/v/scopeo)\n![License](https://img.shields.io/npm/l/scopeo)\n\nEfficiently monitor security, errors, performance, and key metrics in your projects. Scopeo provides real-time insights with an integrated agent, helping you catch issues early and optimize performance.\n\n\n## 📦 Installation\n\n```bash\nnpm install scopeo\n```\n\nOr with Yarn:\n\n```bash\nyarn add scopeo\n```\n\n## 🚀 Usage\n\nImport the library and initialize it in your project:\n\n```javascript\nimport {configManager} from \"scopeo\";\n\nexport const setupScopeoConfig = ()=\u003e{\ntry {\n    configManager.setConfig({\n        apiKey: process.env.API_KEY,\n        passKey: process.env.PASS_KEY,\n        environment: process.env.ENVIRONMENT // Set the environment (e.g., 'development' or 'production')\n        \n        // 'development' enables detailed system monitoring data\n    });\n} catch (error) {\n    console.log(error,\"from scopeo package\");\n}\n}\n```\n\n### Configuration\n\n```javascript\nimport { setupScopeoConfig } from 'your-file';\n\n// Call this in your entry file (e.g., index.js)\nsetupScopeoConfig()\n\n```\n\n### Monitoring Events\n\n```javascript\nimport initializeScopeo from 'scopeo'\n\n// Call this in your entry file (e.g., index.js), right after the config call\ninitializeScopeo(app);\n```\n\n\n### Logging Errors\n\n```javascript\nimport { scopeoErrorHandler, } from 'scopeo'\n\n// Call this at the end of your entry file (e.g., index.js) to handle errors\nscopeoErrorHandler(app);\n\n// Make sure this is after all your routes/middleware\n```\n\n\n📊 Metrics Agent\n\nThe library comes with a built-in agent that runs alongside your application to collect, process, and store metrics. Install the package, and the agent takes care of the rest.\n\n\n## 📘 API Reference\n\nFor detailed API documentation, check out our [API Reference](#).\n\n## 🛡️ Security\n\nWe take security seriously. Learn more about how we handle data and secure your metrics in our [Security Policy](#).\n\n## 🛠️ Contributing\n\nContributions are welcome! Feel free to fork the repo, create a new branch, and submit a pull request.\n\n## 📄 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscopeo-tech%2Fscopeo-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscopeo-tech%2Fscopeo-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscopeo-tech%2Fscopeo-package/lists"}