1.6.0 • Published 6 years ago

server-signature v1.6.0

Weekly downloads
5
License
GPL-3.0
Repository
github
Last release
6 years ago

server-signature

NPM version Linux Status Windows Status Dependency Status Coveralls

Controls whether Server response header field which is sent back to clients includes a description of the generic OS-type of the server. Similar to Apache2.

Installation

Install through NPM

npm install server-signature

or

git clone git://github.com/hex7c0/server-signature.git

API

inside expressjs project

var signature = require('server-signature');
var app = require('express')();

app.use(signature());

signature(options)

options

  • header- String Header filed (default "Server")
  • signature- String ProductOnly of standard string (default "Nodejs")
  • token- String Type of directive, related to http://httpd.apache.org/docs/2.2/mod/core.html#servertokens (default "Full")
  • custom- String Rewrite standard string with this (default "disabled")
  • extra - String Write Extra information after standard or custom string (default "disabled")
  • standalone - Boolean Return function that returns server-signature (default "false")

Examples

Take a look at my examples

Full string

Server: Nodejs/0.10.30 (Darwin)

License GPLv3

1.6.0

6 years ago

1.5.0

7 years ago

1.4.0

8 years ago

1.3.1

9 years ago

1.3.0

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.19

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.1

10 years ago