# @not-govuk/restify

> A customised Restify server for running websites.

Latest version **0.16.3** (published 2025-08-18) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @not-govuk/restify
pnpm add @not-govuk/restify
yarn add @not-govuk/restify
bun add @not-govuk/restify
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.16.3 |
| Published | 2025-08-18 |
| First published | 2020-08-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 31.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Daniel A.C. Martin |
| Maintainers | daniel-ac-martin |
| Keywords | restify |

## Links

- npm: https://www.npmjs.com/package/@not-govuk/restify
- npm.io page: https://npm.io/package/@not-govuk/restify

## Dependencies (5)

- [bunyan](https://npm.io/package/bunyan.md) ^1.8.15
- [restify](https://npm.io/package/restify.md) 11.1.0
- [stoppable](https://npm.io/package/stoppable.md) ^1.1.0
- [restify-errors](https://npm.io/package/restify-errors.md) ^8.0.2
- [restify-bunyan-logger](https://npm.io/package/restify-bunyan-logger.md) ^2.0.7

## Recent versions

- 0.16.3 (latest) — 2025-08-18
- 0.1.27 (pnpm-temp) — 2020-10-19
- 0.16.2 — 2025-05-30
- 0.16.1 — 2025-05-21
- 0.16.0 — 2025-05-11
- 0.15.14 — 2025-05-08
- 0.15.13 — 2025-05-07
- 0.15.12 — 2025-04-10
- 0.15.11 — 2025-04-03
- 0.15.10 — 2025-03-21
- 0.15.9 — 2025-03-17
- 0.15.8 — 2025-02-16
- 0.15.7 — 2025-02-15
- 0.15.6 — 2025-02-02
- 0.15.5 — 2025-01-21
- … 94 more at https://npm.io/package/@not-govuk/restify/versions

## README

Not Govuk - Restify
===================

A customised Restify server for running websites.


Using this package
------------------

First install the package into your project:

```shell
npm install -S @not-govuk/restify
```

Then use it in your code as follows:

```js
const restify = require('@not-govuk/restify');

const httpd = restify.createServer();

httpd.get('/', (req, res, next) => {
  res.send('<html><body>Hello world.</body></html>');
  next();
});

httpd.listen(8080, '0.0.0.0', () => {
  httpd.log.info('%s listening at %s', httpd.name, httpd.url);
});
```


Working on this package
-----------------------

Before working on this package you must install its dependencies using
the following command:

```shell
pnpm install
```


### Building

```shell
npm run build
```


### Clean-up

```shell
npm run clean
```

---
_Source: https://npm.io/package/@not-govuk/restify · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
