{"id":27240010,"url":"https://github.com/eritbh/another-logger","last_synced_at":"2026-04-15T22:36:00.410Z","repository":{"id":45951503,"uuid":"134082994","full_name":"eritbh/another-logger","owner":"eritbh","description":"🚥 Lightweight logging for Node.js and the browser","archived":false,"fork":false,"pushed_at":"2024-06-17T03:51:46.000Z","size":850,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-01T15:17:30.781Z","etag":null,"topics":["console","logging","nodejs","simple"],"latest_commit_sha":null,"homepage":"","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/eritbh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null},"funding":{"github":"eritbh","ko_fi":"eritbh"}},"created_at":"2018-05-19T17:21:31.000Z","updated_at":"2021-11-25T04:53:09.000Z","dependencies_parsed_at":"2025-08-15T00:45:16.595Z","dependency_job_id":"b8122df8-2438-4196-a3d0-1b95369baba1","html_url":"https://github.com/eritbh/another-logger","commit_stats":null,"previous_names":["geo1088/another-logger"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/eritbh/another-logger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eritbh%2Fanother-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eritbh%2Fanother-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eritbh%2Fanother-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eritbh%2Fanother-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eritbh","download_url":"https://codeload.github.com/eritbh/another-logger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eritbh%2Fanother-logger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31863495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["console","logging","nodejs","simple"],"created_at":"2025-04-10T19:14:36.609Z","updated_at":"2026-04-15T22:36:00.388Z","avatar_url":"https://github.com/eritbh.png","language":"TypeScript","funding_links":["https://github.com/sponsors/eritbh","https://ko-fi.com/eritbh"],"categories":[],"sub_categories":[],"readme":"# another-logger [![npm](https://img.shields.io/npm/v/another-logger.svg)](https://www.npmjs.com/package/another-logger) [![npm@next](https://img.shields.io/npm/v/another-logger/next.svg)](https://www.npmjs.com/package/another-logger/v/next)\n\nA lightweight logging utility for Node.js and the browser.\n\n\u003cp align=\"center\"\u003e\n\u003cimg alt=\"Example screenshot 1\" src=\".github/screenshots/windows-terminal.png\" width=\"252\"\u003e\n\u003cimg alt=\"Example screenshot 2\" src=\".github/screenshots/firefox-devtools.png\" width=\"252\"\u003e\n\u003c/p\u003e\n\n## Installation\n\n```bash\nnpm install --omit dev another-logger\n```\n\nUse `--omit dev` to avoid installing this project's development dependencies.\n\nIf installing for use in browser environments only, you can also add the `--omit optional` flag, which will skip installing `ansi-colors` (used to enable color support for Node environments).\n\n## Usage\n\n```js\nimport {defaultLogger as log} from 'another-logger';\nlog.info('Hi there!');\n```\n\nSee [USAGE.md](/USAGE.md) for a full walkthrough of the library, including logger customization and custom transports. Also see [the examples folder](/example) for complete configuration examples.\n\n**TODO:** include docs link here as well\n\n### Browser environments and build tools\n\nThis library is built for both CommonJS and ES6 module consumers, and for both Node.js and the browser. The module uses the `main`, `module`, and `browser` fields in its `package.json` to provide different entry points for these environments. The Node.js runtime and most build tools will use the most appropriate entry point automatically, but you may need to configure certain tools to pick up the correct version (for example, with Rollup, via the [`browser` option to `@rollup/plugin-node-resolve`](https://github.com/rollup/plugins/tree/master/packages/node-resolve#browser)).\n\nIf your setup doesn't support the `browser`/`module` fields (for example, [Typescript](https://github.com/microsoft/TypeScript/issues/7753)), you can manually specify your entry point as `another-logger/dist/index.{browser,node}.{mjs,cjs}`. For example:\n\n```js\nimport {...} from 'another-logger/dist/index.browser.mjs';\n```\n\n## License\n\nMIT \u0026copy; eritbh\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feritbh%2Fanother-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feritbh%2Fanother-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feritbh%2Fanother-logger/lists"}