{"id":20711486,"url":"https://github.com/codehz/bun-xattr","last_synced_at":"2026-01-30T12:33:30.454Z","repository":{"id":197126138,"uuid":"698038129","full_name":"codehz/bun-xattr","owner":"codehz","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-05T14:36:56.000Z","size":10,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-10T19:16:49.613Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/codehz.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,"zenodo":null}},"created_at":"2023-09-29T02:32:01.000Z","updated_at":"2024-06-06T09:59:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ec55deb-16f4-426a-b151-8fe82a9e649b","html_url":"https://github.com/codehz/bun-xattr","commit_stats":null,"previous_names":["codehz/bun-xattr"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/codehz/bun-xattr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehz%2Fbun-xattr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehz%2Fbun-xattr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehz%2Fbun-xattr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehz%2Fbun-xattr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codehz","download_url":"https://codeload.github.com/codehz/bun-xattr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codehz%2Fbun-xattr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28912911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T12:13:43.263Z","status":"ssl_error","status_checked_at":"2026-01-30T12:13:22.389Z","response_time":66,"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":[],"created_at":"2024-11-17T02:15:40.402Z","updated_at":"2026-01-30T12:33:30.441Z","avatar_url":"https://github.com/codehz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bun-xattr\n\nBun wrapper for getting, setting, removing and listing extended attributes on files.\n\nOS Support: macOS and Linux (I will try to add support for windows via NtSetEaFile/NtQueryEaFile in future)\n\nusage:\n\n```typescript\nimport { setxattr, listxattr, getxattr, removexattr } from \"bun-xattr\";\n\nconst file = \"./path/to/file\";\nsetxattr(file, \"user.mime\", \"text/html\");\nconsole.log(listxattr(file));\nconsole.log(getxattr(file, \"user.mime\"));\nremovexattr(file, \"user.mime\");\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodehz%2Fbun-xattr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodehz%2Fbun-xattr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodehz%2Fbun-xattr/lists"}