{"id":20723283,"url":"https://github.com/aliataf/log","last_synced_at":"2025-07-24T20:07:59.278Z","repository":{"id":57096534,"uuid":"372471213","full_name":"aliataf/log","owner":"aliataf","description":"Fast way to distinct your variables logged","archived":false,"fork":false,"pushed_at":"2021-06-17T18:00:43.000Z","size":4,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T01:51:42.982Z","etag":null,"topics":["debugging","javascript","logging","npm","npm-package"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@aliataf/log","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aliataf.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2021-05-31T10:42:20.000Z","updated_at":"2023-08-29T16:50:50.000Z","dependencies_parsed_at":"2022-08-20T16:51:06.928Z","dependency_job_id":null,"html_url":"https://github.com/aliataf/log","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliataf%2Flog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliataf%2Flog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliataf%2Flog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliataf%2Flog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliataf","download_url":"https://codeload.github.com/aliataf/log/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250185358,"owners_count":21389069,"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":["debugging","javascript","logging","npm","npm-package"],"created_at":"2024-11-17T04:08:10.725Z","updated_at":"2025-04-23T17:26:08.405Z","avatar_url":"https://github.com/aliataf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Log\n\n\u003e Fast way to destinct your variables logged\n\n## Motivation\n\nI always find my self writing `console.log` statements with the name of the variable for example:\n\n```js\nlet language = 'Javascript';\nconsole.log('language', language);\n```\n\nSo in order to save time, I created this little package that logs the name of the variable automatically.\n\n## Installation\n\nInstall with [npm](https://www.npmjs.com/package/@aliataf/log):\n\n```bash\nnpm i --save-dev @aliataf/log\n```\n\n## Usage\n\n```javascript\nimport log from '@aliataf/log';\n\nconst firstName = 'Ali';\nconst lastName = 'Ataf';\nconst language = 'Javascript';\n\nlog({ language });\n/* =\u003e\n    language = Javascript\n*/\n\nlog({ firstName, lastName });\n\n/* =\u003e\n    firstName = Ali\n    lastName = Ataf\n*/\n```\n\n## License\n\n[MIT](https://github.com/aliataf/log/blob/main/LICENSE) © [Ali Ataf](https://github.com/aliataf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliataf%2Flog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliataf%2Flog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliataf%2Flog/lists"}