{"id":21905400,"url":"https://github.com/hex7c0/server-signature","last_synced_at":"2026-04-11T02:37:08.795Z","repository":{"id":19608725,"uuid":"22859859","full_name":"hex7c0/server-signature","owner":"hex7c0","description":"server response header field for Nodejs","archived":false,"fork":false,"pushed_at":"2024-03-25T22:51:28.000Z","size":258,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-13T19:19:46.412Z","etag":null,"topics":["nodejs","server-signature"],"latest_commit_sha":null,"homepage":"https://github.com/hex7c0/server-signature","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hex7c0.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,"dei":null}},"created_at":"2014-08-12T00:54:31.000Z","updated_at":"2024-04-23T01:32:26.505Z","dependencies_parsed_at":"2024-04-23T01:32:23.964Z","dependency_job_id":"0a59b51e-26bd-4fd9-ade0-13276963ee35","html_url":"https://github.com/hex7c0/server-signature","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Fserver-signature","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Fserver-signature/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Fserver-signature/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex7c0%2Fserver-signature/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hex7c0","download_url":"https://codeload.github.com/hex7c0/server-signature/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244918710,"owners_count":20531686,"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":["nodejs","server-signature"],"created_at":"2024-11-28T16:33:14.646Z","updated_at":"2026-04-11T02:37:03.744Z","avatar_url":"https://github.com/hex7c0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [server-signature](https://github.com/hex7c0/server-signature)\n\n[![NPM version](https://img.shields.io/npm/v/server-signature.svg)](https://www.npmjs.com/package/server-signature)\n[![Linux Status](https://img.shields.io/travis/hex7c0/server-signature.svg?label=linux-osx)](https://travis-ci.org/hex7c0/server-signature)\n[![Windows Status](https://img.shields.io/appveyor/ci/hex7c0/server-signature.svg?label=windows)](https://ci.appveyor.com/project/hex7c0/server-signature)\n[![Dependency Status](https://img.shields.io/david/hex7c0/server-signature.svg)](https://david-dm.org/hex7c0/server-signature)\n[![Coveralls](https://img.shields.io/coveralls/hex7c0/server-signature.svg)](https://coveralls.io/r/hex7c0/server-signature)\n\nControls whether Server response header field which is sent back to clients includes a description of the generic OS-type of the server.\nSimilar to Apache2.\n\n## Installation\n\nInstall through NPM\n\n```bash\nnpm install server-signature\n```\nor\n```bash\ngit clone git://github.com/hex7c0/server-signature.git\n```\n\n## API\n\ninside expressjs project\n```js\nvar signature = require('server-signature');\nvar app = require('express')();\n\napp.use(signature());\n```\n\n### signature(options)\n\n#### options\n\n - `header`- **String** Header filed *(default \"Server\")*\n - `signature`- **String** ProductOnly of standard string *(default \"Nodejs\")*\n - `token`- **String** Type of directive, related to http://httpd.apache.org/docs/2.2/mod/core.html#servertokens *(default \"Full\")*\n - `custom`- **String** Rewrite standard string with this *(default \"disabled\")*\n - `extra` - **String** Write Extra information after standard or custom string *(default \"disabled\")*\n - `standalone` - **Boolean** Return function that returns server-signature *(default \"false\")*\n\n## Examples\n\nTake a look at my [examples](examples)\n\nFull string\n```bash\nServer: Nodejs/0.10.30 (Darwin)\n```\n\n### [License GPLv3](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex7c0%2Fserver-signature","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhex7c0%2Fserver-signature","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex7c0%2Fserver-signature/lists"}