Skip to content

UKHomeOffice-attic/hof

Repository files navigation

IMPORTANT!!! This repo is deprecated

Please refer to the new HOF repo

This repo is kept just for historical purposes.

HOF npm version

Home Office Forms (HOF) is a single package that bundles up a collection of modules used to create forms at the Home Office in node.js.

Read the support documentation for more details or see use the simple instructions below to get started, or start a discussion on Slack

The example app is also a good place to start. We recommend cloning the repository, cleaning the commit history, and replacing the example form in there with one of your own. The example shows examples for most of the common ways you might want to use the libraries.

What is it?

HOF provides the following which can be accessed through its properties.

Who's using HOF

Installation

$ npm install --save hof

Usage

var hof = require('hof');

var wizard = hof.wizard;
var toolkit = hof.toolkit;
var template = hof.template;
var Model = hof.Model;
var mixins = hof.mixins;
var controllers = hof.controllers;
var i18n = hof.i18n;
var middleware = hof.middleware;