{"id":22165263,"url":"https://github.com/hexer10/etag","last_synced_at":"2025-06-15T18:40:18.490Z","repository":{"id":56828498,"uuid":"351218786","full_name":"Hexer10/etag","owner":"Hexer10","description":"Create simple HTTP ETags. Port over from JS.","archived":false,"fork":false,"pushed_at":"2021-03-24T21:00:53.000Z","size":5,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T22:46:00.087Z","etag":null,"topics":["dart","etag","pub"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/etag","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Hexer10.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}},"created_at":"2021-03-24T20:47:18.000Z","updated_at":"2023-11-24T17:37:58.000Z","dependencies_parsed_at":"2022-08-28T21:10:49.849Z","dependency_job_id":null,"html_url":"https://github.com/Hexer10/etag","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hexer10/etag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hexer10%2Fetag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hexer10%2Fetag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hexer10%2Fetag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hexer10%2Fetag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hexer10","download_url":"https://codeload.github.com/Hexer10/etag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hexer10%2Fetag/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260029917,"owners_count":22948252,"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":["dart","etag","pub"],"created_at":"2024-12-02T05:14:17.613Z","updated_at":"2025-06-15T18:40:18.464Z","avatar_url":"https://github.com/Hexer10.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"Create simple HTTP ETags\n\nHighly inspired from https://github.com/jshttp/etag , almost all the code and the documentation is taken from that project, all I did was to port the project over to dart.\n\n## API\n\n### etag(entity, {bool? weak})\n\nGenerate a strong ETag for the given entity. This should be the complete\nbody of the entity. Strings, `Uint8List`s, and `FileStat` are accepted. By\ndefault, a strong ETag is generated except for `FileStat`, which will\ngenerate a weak ETag (this can be overwritten by `weak`).\n\n##### weak\n\nSpecifies if the generated ETag will include the weak validator mark (that\nis, the leading `W/`). The actual entity tag is the same. The default value\nis `false`, unless the `entity` is `fs.Stats`, in which case it is `true`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexer10%2Fetag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexer10%2Fetag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexer10%2Fetag/lists"}