{"id":18684943,"url":"https://github.com/tknf/node-header-helpers","last_synced_at":"2025-07-30T09:03:13.632Z","repository":{"id":57700492,"uuid":"497207746","full_name":"tknf/node-header-helpers","owner":"tknf","description":"A generic, framework-independent string helper for headers.","archived":false,"fork":false,"pushed_at":"2022-05-28T04:02:06.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-24T13:17:15.299Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tknf.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":"2022-05-28T04:01:08.000Z","updated_at":"2022-05-28T04:01:25.000Z","dependencies_parsed_at":"2022-09-26T21:11:41.127Z","dependency_job_id":null,"html_url":"https://github.com/tknf/node-header-helpers","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tknf/node-header-helpers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknf%2Fnode-header-helpers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknf%2Fnode-header-helpers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknf%2Fnode-header-helpers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknf%2Fnode-header-helpers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tknf","download_url":"https://codeload.github.com/tknf/node-header-helpers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tknf%2Fnode-header-helpers/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267842970,"owners_count":24153133,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-07T10:19:49.604Z","updated_at":"2025-07-30T09:03:13.471Z","avatar_url":"https://github.com/tknf.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @tknf/node-header-helpers\n## Get Started\n\n### Install\n```bash\nyarn add @tknf/node-header-helpers\n# or\nnpm install --save @tknf/node-header-helpers\n```\n\n### Use on express\n```js\nimport express from \"express\";\nimport { getContentTypeHeader, TextHtml } from \"@tknf/node-header-helpers\";\n\nconst app = express();\n\napp.get(\"/\", async (req, res) =\u003e {\n  res.set(getContentTypeHeader(), TextHtml());\n  return res.status(200).send(`\u003cbody\u003eHello world!\u003c/body\u003e`);\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftknf%2Fnode-header-helpers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftknf%2Fnode-header-helpers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftknf%2Fnode-header-helpers/lists"}