{"id":13526999,"url":"https://github.com/gulpjs/fancy-log","last_synced_at":"2025-05-16T12:12:53.986Z","repository":{"id":43174238,"uuid":"42078291","full_name":"gulpjs/fancy-log","owner":"gulpjs","description":"Log things, prefixed with a timestamp.","archived":false,"fork":false,"pushed_at":"2023-12-29T20:11:28.000Z","size":22,"stargazers_count":122,"open_issues_count":0,"forks_count":21,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-15T06:25:54.658Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/gulpjs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"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},"funding":{"github":["gulpjs","phated","yocontra"],"tidelift":"npm/gulp","open_collective":"gulpjs"}},"created_at":"2015-09-07T22:59:54.000Z","updated_at":"2025-03-06T07:37:35.000Z","dependencies_parsed_at":"2024-01-12T17:35:11.660Z","dependency_job_id":"939da779-cdc2-43b0-bca6-e9936f6a917d","html_url":"https://github.com/gulpjs/fancy-log","commit_stats":{"total_commits":30,"total_committers":7,"mean_commits":4.285714285714286,"dds":0.2666666666666667,"last_synced_commit":"af3bbb893fd6565f2c9666c2cd83467af7d0a2c3"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Ffancy-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Ffancy-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Ffancy-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gulpjs%2Ffancy-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gulpjs","download_url":"https://codeload.github.com/gulpjs/fancy-log/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254527099,"owners_count":22085919,"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":[],"created_at":"2024-08-01T06:01:39.012Z","updated_at":"2025-05-16T12:12:48.977Z","avatar_url":"https://github.com/gulpjs.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://gulpjs.com\"\u003e\n    \u003cimg height=\"257\" width=\"114\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n# fancy-log\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]\n\nLog things, prefixed with a timestamp.\n\n## Usage\n\n```js\nvar log = require('fancy-log');\n\nlog('a message');\n// [16:27:02] a message\n\nlog.error('oh no!');\n// [16:27:02] oh no!\n```\n\n## API\n\n### `log(msg...)`\n\nLogs the message as if you called `console.log` but prefixes the output with the\ncurrent time in HH:mm:ss format.\n\n### `log.error(msg...)`\n\nLogs the message as if you called `console.error` but prefixes the output with the\ncurrent time in HH:mm:ss format.\n\n### `log.warn(msg...)`\n\nLogs the message as if you called `console.warn` but prefixes the output with the\ncurrent time in HH:mm:ss format.\n\n### `log.info(msg...)`\n\nLogs the message as if you called `console.info` but prefixes the output with the\ncurrent time in HH:mm:ss format.\n\n### `log.dir(msg...)`\n\nLogs the message as if you called `console.dir` but prefixes the output with the\ncurrent time in HH:mm:ss format.\n\n## Styling\n\nIf the terminal that you are logging to supports colors, the timestamp will be formatted as though it were a `Date` being formatted by `util.inspect()`. This means that it will be formatted as magenta by default but can be adjusted following node's [Customizing util.inspect colors](https://nodejs.org/dist/latest-v10.x/docs/api/util.html#util_customizing_util_inspect_colors) documentation.\n\nFor example, this will cause the logged timestamps (and other dates) to display in red:\n\n```js\nvar util = require('util');\n\nutil.inspect.styles.date = 'red';\n```\n\n## License\n\nMIT\n\n\u003c!-- prettier-ignore-start --\u003e\n[downloads-image]: https://img.shields.io/npm/dm/fancy-log.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/fancy-log\n[npm-image]: https://img.shields.io/npm/v/fancy-log.svg?style=flat-square\n\n[ci-url]: https://github.com/gulpjs/fancy-log/actions?query=workflow:dev\n[ci-image]: https://img.shields.io/github/actions/workflow/status/gulpjs/fancy-log/dev.yml?branch=master\u0026style=flat-square\n\n[coveralls-url]: https://coveralls.io/r/gulpjs/fancy-log\n[coveralls-image]: https://img.shields.io/coveralls/gulpjs/fancy-log/master.svg?style=flat-square\n\u003c!-- prettier-ignore-end --\u003e\n","funding_links":["https://github.com/sponsors/gulpjs","https://github.com/sponsors/phated","https://github.com/sponsors/yocontra","https://tidelift.com/funding/github/npm/gulp","https://opencollective.com/gulpjs"],"categories":["Repository"],"sub_categories":["Logging"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgulpjs%2Ffancy-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgulpjs%2Ffancy-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgulpjs%2Ffancy-log/lists"}