{"_id":"hof-behaviour-address-lookup","_rev":"65-f23aac567a5e28a83c759d4d9dd37050","name":"hof-behaviour-address-lookup","dist-tags":{"latest":"2.2.2"},"versions":{"1.0.0":{"name":"hof-behaviour-address-lookup","version":"1.0.0","keywords":[],"author":"","license":"MIT","_id":"hof-behaviour-address-lookup@1.0.0","maintainers":[{"name":"joefitter","email":"hello@joefitter.com"}],"dist":{"shasum":"40e7e9dd9e496897f32aa3e60b2ab879720a0036","tarball":"https://registry.npmjs.org/hof-behaviour-address-lookup/-/hof-behaviour-address-lookup-1.0.0.tgz","integrity":"sha512-ca4O+hrwbyB48kFMjd+vctjeGZivpkpzYeUCz5lNTYT6h59JYyj6UOi5m3tw1TQEv3/4W82L8ZFA+N6LEsDM0Q==","signatures":[{"sig":"MEUCIH0L9RyYr4Mz5XCzLumrk9+4EKa14T1I3WnMsFtyh7ChAiEAis2rJ2K25esRZLMtcMd2sf2VsOeYM6DOo0x4CoZDChw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"40e7e9dd9e496897f32aa3e60b2ab879720a0036","gitHead":"5b2d93e15efd637792bbf06012a7eec1ba0ad607","scripts":{"test":"npm run test:lint && npm run test:functional","test:lint":"eslint .","test:functional":"funkie mocha ./functional-tests --opts ./functional-tests/mocha.opts"},"_npmUser":{"name":"joefitter","email":"hello@joefitter.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"3.10.10","description":"A HOF Behaviour for a multi-step postcode lookup","directories":{},"_nodeVersion":"6.2.2","dependencies":{"lodash":"^4.17.4","hof-model":"^3.0.0"},"devDependencies":{"mocha":"^3.2.0","eslint":"^3.16.1","funkie":"0.0.5","express":"^4.14.1","body-parser":"^1.16.1","webdriverio":"^4.6.2","cookie-parser":"^1.4.3","funkie-phantom":"0.0.1","express-session":"^1.15.1","hof-form-wizard":"^3.2.0","hof-util-autofill":"^1.0.2","hof-govuk-template":"^1.0.0","hof-template-mixins":"^3.4.0","hogan-express-strict":"^0.5.4","hof-template-partials":"^3.3.1","eslint-config-homeoffice":"^2.1.2","express-partial-templates":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-behaviour-address-lookup-1.0.0.tgz_1488810465960_0.2493157610297203","host":"packages-12-west.internal.npmjs.com"}},"1.1.0":{"name":"hof-behaviour-address-lookup","version":"1.1.0","keywords":[],"author":"","license":"MIT","_id":"hof-behaviour-address-lookup@1.1.0","maintainers":[{"name":"joefitter","email":"hello@joefitter.com"}],"dist":{"shasum":"bca7abb08a87a7140f85b549e6139748db6f4be0","tarball":"https://registry.npmjs.org/hof-behaviour-address-lookup/-/hof-behaviour-address-lookup-1.1.0.tgz","integrity":"sha512-5Qh50qvTlFTAaQb5izRqKRDIOsKCq0QsdymNIQNKK26TWliC/EHYS2LDC3iMo+Va3o35AXMonlxwK88d9R7aMA==","signatures":[{"sig":"MEUCIAkrQfjaJZ4kujed04o15lOkA7BmOLKmROaVKzTgXWijAiEAqpycBSoZPzlN3en7PTz/gUptBY7FZm78zGUj4vf1cTc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"bca7abb08a87a7140f85b549e6139748db6f4be0","gitHead":"6df543e8cbb50f7a3cea4737b3ac6b3c55731fbe","scripts":{"test":"npm run test:lint && npm run test:functional","test:lint":"eslint .","test:functional":"funkie mocha ./functional-tests --opts ./functional-tests/mocha.opts"},"_npmUser":{"name":"joefitter","email":"hello@joefitter.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"3.10.10","description":"A HOF Behaviour for a multi-step postcode lookup","directories":{},"_nodeVersion":"6.2.2","dependencies":{"lodash":"^4.17.4","hof-model":"^3.0.0"},"devDependencies":{"mocha":"^3.2.0","eslint":"^3.16.1","funkie":"0.0.5","express":"^4.14.1","body-parser":"^1.16.1","webdriverio":"^4.6.2","cookie-parser":"^1.4.3","funkie-phantom":"0.0.1","express-session":"^1.15.1","hof-form-wizard":"^3.2.0","hof-util-autofill":"^1.0.2","hof-govuk-template":"^1.0.0","hof-template-mixins":"^3.4.0","hogan-express-strict":"^0.5.4","hof-template-partials":"^3.3.1","eslint-config-homeoffice":"^2.1.2","express-partial-templates":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-behaviour-address-lookup-1.1.0.tgz_1488893252931_0.6401283496525139","host":"packages-12-west.internal.npmjs.com"}},"1.1.1":{"name":"hof-behaviour-address-lookup","version":"1.1.1","keywords":[],"author":"","license":"MIT","_id":"hof-behaviour-address-lookup@1.1.1","maintainers":[{"name":"joefitter","email":"hello@joefitter.com"}],"dist":{"shasum":"cfdb799a2bc7fe13c3ef55b567ea268037e3cf98","tarball":"https://registry.npmjs.org/hof-behaviour-address-lookup/-/hof-behaviour-address-lookup-1.1.1.tgz","integrity":"sha512-wywmDECpZH4UwjkAveJDIXY9QQ7a9SnWdkmskxC4bgLOtLW22X18lbTHf+1uO/H0rVwJNEaIbHdfnx3dKVbVlA==","signatures":[{"sig":"MEUCIQDmQlC7jiplWCPxKlubME4KALrJWsnwRkwFvOa3FP7zLQIgHMxs+G2XbVyF9a810qGM1Ehrxu1IiF0dwADL5kGleok=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"cfdb799a2bc7fe13c3ef55b567ea268037e3cf98","gitHead":"3caecfb8419b3a0efccd9c5934fe9cda0405831b","scripts":{"test":"npm run test:lint && npm run test:functional","test:lint":"eslint .","test:functional":"funkie mocha ./functional-tests --opts ./functional-tests/mocha.opts"},"_npmUser":{"name":"joefitter","email":"hello@joefitter.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"3.10.10","description":"A HOF Behaviour for a multi-step postcode lookup","directories":{},"_nodeVersion":"6.2.2","dependencies":{"lodash":"^4.17.4","hof-model":"^3.0.0"},"devDependencies":{"mocha":"^3.2.0","eslint":"^3.16.1","funkie":"0.0.5","express":"^4.14.1","body-parser":"^1.16.1","webdriverio":"^4.6.2","cookie-parser":"^1.4.3","funkie-phantom":"0.0.1","express-session":"^1.15.1","hof-form-wizard":"^3.2.0","hof-util-autofill":"^1.0.2","hof-govuk-template":"^1.0.0","hof-template-mixins":"^3.4.0","hogan-express-strict":"^0.5.4","hof-template-partials":"^3.3.1","eslint-config-homeoffice":"^2.1.2","express-partial-templates":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-behaviour-address-lookup-1.1.1.tgz_1488965837684_0.3575349685270339","host":"packages-18-east.internal.npmjs.com"}},"1.2.0":{"name":"hof-behaviour-address-lookup","version":"1.2.0","keywords":[],"author":"","license":"MIT","_id":"hof-behaviour-address-lookup@1.2.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"}],"dist":{"shasum":"bb050805567bc1d7153c065dfcf5c4fa33b862f2","tarball":"https://registry.npmjs.org/hof-behaviour-address-lookup/-/hof-behaviour-address-lookup-1.2.0.tgz","integrity":"sha512-omBUMqAxinwqjB03CeQB6c2XMC70xJBQOioMm1SClCQKSxG+MjC3fcUTfET5QXE1z3L5q8SdM6QzWZiPoRRalg==","signatures":[{"sig":"MEYCIQC3edYGjsQfYCkAuS8zMCfYA1gBL6j8cjli76pnIpLQtAIhAIcmq4gfOLNrK1xohPKPOUi0quTmMDYHoHa5kRjZLWIJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"bb050805567bc1d7153c065dfcf5c4fa33b862f2","gitHead":"5d8e83468428b347442b1f9fd1438f882463bb65","scripts":{"test":"npm run test:lint && npm run test:functional","test:lint":"eslint .","test:functional":"funkie mocha ./functional-tests --opts ./functional-tests/mocha.opts"},"_npmUser":{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"3.10.8","description":"A HOF Behaviour for a multi-step postcode lookup","directories":{},"_nodeVersion":"6.9.1","dependencies":{"lodash":"^4.17.4","hof-model":"^3.0.0"},"devDependencies":{"mocha":"^3.2.0","eslint":"^3.16.1","funkie":"0.0.5","express":"^4.14.1","body-parser":"^1.16.1","webdriverio":"^4.6.2","cookie-parser":"^1.4.3","funkie-phantom":"0.0.1","express-session":"^1.15.1","hof-form-wizard":"^3.2.0","hof-util-autofill":"^1.0.2","hof-govuk-template":"^1.0.0","hof-template-mixins":"^3.4.0","hogan-express-strict":"^0.5.4","hof-template-partials":"^3.3.1","eslint-config-homeoffice":"^2.1.2","express-partial-templates":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-behaviour-address-lookup-1.2.0.tgz_1490097795961_0.844919573282823","host":"packages-18-east.internal.npmjs.com"}},"2.0.0":{"name":"hof-behaviour-address-lookup","version":"2.0.0","keywords":[],"author":"","license":"MIT","_id":"hof-behaviour-address-lookup@2.0.0","maintainers":[{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"josephchapman","email":"info@josephchapman.com"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"}],"dist":{"shasum":"c2fc840a03df8a5caaacd3d3910b41afb73b0df8","tarball":"https://registry.npmjs.org/hof-behaviour-address-lookup/-/hof-behaviour-address-lookup-2.0.0.tgz","integrity":"sha512-kuZBi5+ymGMQyslDTFFCGOffUH0IHPP762vByHQUBjw1ve3AVzOvaR+OHFkNDDXbsz2f+vsx1q4HgKnt57JIsg==","signatures":[{"sig":"MEQCIG8jy6PTmXT6594ISDRIKIBrAe0dbAa0GncdPEK/32jHAiBMD5jkxBnsUZLeYtVeDtZp2KdpxCS1xg/0TC8eI4dM6w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"c2fc840a03df8a5caaacd3d3910b41afb73b0df8","gitHead":"1d824e883f4f5fd339d46d64e1f49fe9aeda5844","scripts":{"test":"npm run test:lint && npm run test:functional","test:lint":"eslint .","test:functional":"funkie mocha"},"_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"3.10.10","description":"A HOF Behaviour for a multi-step postcode lookup","directories":{},"_nodeVersion":"6.9.4","dependencies":{"lodash":"^4.17.4","hof-model":"^3.0.0"},"devDependencies":{"mocha":"^3.2.0","eslint":"^3.16.1","funkie":"0.0.5","express":"^4.14.1","body-parser":"^1.16.1","webdriverio":"^4.6.2","cookie-parser":"^1.4.3","funkie-phantom":"0.0.1","express-session":"^1.15.1","hof-form-wizard":"^3.2.0","hof-util-autofill":"^1.0.2","hof-govuk-template":"^1.0.0","hof-template-mixins":"^3.4.0","hogan-express-strict":"^0.5.4","hof-template-partials":"^3.3.1","eslint-config-homeoffice":"^2.1.2","express-partial-templates":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-behaviour-address-lookup-2.0.0.tgz_1491566099617_0.8449212401174009","host":"packages-12-west.internal.npmjs.com"}},"2.1.0":{"name":"hof-behaviour-address-lookup","version":"2.1.0","keywords":[],"author":"","license":"MIT","_id":"hof-behaviour-address-lookup@2.1.0","maintainers":[{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},{"name":"josephchapman","email":"info@josephchapman.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"joefitter","email":"hello@joefitter.com"}],"dist":{"shasum":"c272d45ecddd83ad1bb6814d878c6349f2eeac9c","tarball":"https://registry.npmjs.org/hof-behaviour-address-lookup/-/hof-behaviour-address-lookup-2.1.0.tgz","integrity":"sha512-EOL/fXPkboK5en5lySSNtLISI69fDkKZ38u3qhQqsLXJ67ZF0SHDXfnBaLaK4f4wDfLHnk9cwotDJALJCf399A==","signatures":[{"sig":"MEQCIHv/zxAbVbtr6BVfLqxL3WtNUYKcyNs94JQQrchPBmlVAiAp5yTl5ERJc1C70Zsf7Vsdsdjgk0QxwKLj8yfA8xcmxw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"fedc29cacee7c649852133e7691c4a9a1e920100","scripts":{"test":"npm run test:lint && npm run test:functional","test:lint":"eslint .","test:functional":"funkie mocha"},"_npmUser":{"name":"josephchapman","email":"info@josephchapman.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"5.3.0","description":"A HOF Behaviour for a multi-step postcode lookup","directories":{},"_nodeVersion":"6.10.0","dependencies":{"lodash":"^4.17.4","hof-model":"^3.0.0"},"devDependencies":{"mocha":"^3.2.0","eslint":"^3.16.1","funkie":"0.0.5","express":"^4.14.1","body-parser":"^1.16.1","webdriverio":"^4.6.2","cookie-parser":"^1.4.3","funkie-phantom":"0.0.1","express-session":"^1.15.1","hof-form-wizard":"^3.2.0","hof-util-autofill":"^1.0.2","hof-govuk-template":"^1.0.0","hof-template-mixins":"^3.4.0","hogan-express-strict":"^0.5.4","hof-template-partials":"^3.3.1","eslint-config-homeoffice":"^2.1.2","express-partial-templates":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-behaviour-address-lookup-2.1.0.tgz_1505832485076_0.07296395883895457","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"hof-behaviour-address-lookup","version":"2.1.1","keywords":[],"author":"","license":"MIT","_id":"hof-behaviour-address-lookup@2.1.1","maintainers":[{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},{"name":"josephchapman","email":"info@josephchapman.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"joefitter","email":"hello@joefitter.com"}],"dist":{"shasum":"7f0a318decd2e0e3a8f74953f873c34c92c1baaa","tarball":"https://registry.npmjs.org/hof-behaviour-address-lookup/-/hof-behaviour-address-lookup-2.1.1.tgz","integrity":"sha512-r1n/fj/+i5nvYmmqvRd7NWkGL38wtSiijCJJ2dxFxWISXd0MT/3dSixDvuoW8uRlWZZVV3ic0crWT/3oTUVLQg==","signatures":[{"sig":"MEUCIC9FpjM+wfGXRPoFcCDWdiijSgYb+hKdcnUdSd/QCbf7AiEApAjGst28dtWRHpJv8AP6O9R/DhXjCLmWPe6dHaLHRvc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"ab3c570316c2765021ea43aa6122b0e933b09c2d","scripts":{"test":"npm run test:lint && npm run test:functional","test:lint":"eslint .","test:functional":"funkie mocha"},"_npmUser":{"name":"josephchapman","email":"info@josephchapman.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"5.3.0","description":"A HOF Behaviour for a multi-step postcode lookup","directories":{},"_nodeVersion":"6.10.0","dependencies":{"lodash":"^4.17.4","hof-model":"^3.0.0"},"devDependencies":{"mocha":"^3.2.0","eslint":"^3.16.1","funkie":"0.0.5","express":"^4.14.1","body-parser":"^1.16.1","webdriverio":"^4.6.2","cookie-parser":"^1.4.3","funkie-phantom":"0.0.1","express-session":"^1.15.1","hof-form-wizard":"^3.2.0","hof-util-autofill":"^1.0.2","hof-govuk-template":"^1.0.0","hof-template-mixins":"^3.4.0","hogan-express-strict":"^0.5.4","hof-template-partials":"^3.3.1","eslint-config-homeoffice":"^2.1.2","express-partial-templates":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-behaviour-address-lookup-2.1.1.tgz_1505920505718_0.22909779264591634","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"hof-behaviour-address-lookup","version":"2.2.0","keywords":[],"author":"","license":"MIT","_id":"hof-behaviour-address-lookup@2.2.0","maintainers":[{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},{"name":"josephchapman","email":"info@josephchapman.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"joefitter","email":"hello@joefitter.com"}],"dist":{"shasum":"1819c695ecf1819418a5615b9728a8e5eff2a5b3","tarball":"https://registry.npmjs.org/hof-behaviour-address-lookup/-/hof-behaviour-address-lookup-2.2.0.tgz","integrity":"sha512-ARXT5C4dv6iO6JmkWdq/aU8po68m2diitS0PtOsZR2EmiZ6VporoARaB01JKuKJo9RwP/uKz56LL+gUAcrqzmQ==","signatures":[{"sig":"MEUCIHIMXxxdE/eyteiwBMuKuLiLLajWBgkHpQfGW6FWnnthAiEA2P3RCP2Hr+1WKaZTXOnXOTH1kdvcWx6w5afIzxUthYg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"6a5d703350795c5cf10d07729028e7044d5a5f4d","scripts":{"test":"npm run test:lint && npm run test:functional","test:lint":"eslint .","test:functional":"funkie mocha"},"_npmUser":{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"5.5.1","description":"A HOF Behaviour for a multi-step postcode lookup","directories":{},"_nodeVersion":"6.9.1","dependencies":{"lodash":"^4.17.4","hof-model":"^3.0.0"},"devDependencies":{"chai":"^4.1.2","mocha":"^3.2.0","eslint":"^3.16.1","funkie":"0.0.5","express":"^4.14.1","body-parser":"^1.16.1","webdriverio":"^4.6.2","cookie-parser":"^1.4.3","funkie-phantom":"0.0.1","express-session":"^1.15.1","hof-form-wizard":"^3.2.0","hof-util-autofill":"^1.0.2","hof-govuk-template":"^1.0.0","hof-template-mixins":"^3.4.0","hogan-express-strict":"^0.5.4","hof-template-partials":"^3.3.1","eslint-config-homeoffice":"^2.1.2","express-partial-templates":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-behaviour-address-lookup-2.2.0.tgz_1509377308216_0.22975442232564092","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"hof-behaviour-address-lookup","version":"2.2.1","keywords":[],"author":"","license":"MIT","_id":"hof-behaviour-address-lookup@2.2.1","maintainers":[{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},{"name":"josephchapman","email":"info@josephchapman.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"joefitter","email":"hello@joefitter.com"}],"dist":{"shasum":"21d971f843101e663db8c5668ae6fe6743878a7b","tarball":"https://registry.npmjs.org/hof-behaviour-address-lookup/-/hof-behaviour-address-lookup-2.2.1.tgz","integrity":"sha512-SkgWxa3wrYCuHVR07xVq8/4WxJQuKbnyE5qBlTKiPeOoDzSRnrIUK5UJAxDMvlSC+sAlNeCRVWDQJ0pOnisPEQ==","signatures":[{"sig":"MEQCIDSt7ADEt8zbcXErkFj4N0+ifq4EkDbLoFeLdtUdATihAiBuzyaWbOH9yWAfxcrH6aXc07dr54TIga6dANOhiZfQYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"b9752da0f9fea4f5eec0225ec7d31cb0fb20e60a","scripts":{"test":"npm run test:lint && npm run test:functional","test:lint":"eslint .","test:functional":"funkie mocha"},"_npmUser":{"name":"lennym","email":"leonard.martin@gmail.com"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"5.4.2","description":"A HOF Behaviour for a multi-step postcode lookup","directories":{},"_nodeVersion":"8.8.1","dependencies":{"lodash":"^4.17.4","hof-model":"^3.0.0"},"devDependencies":{"chai":"^4.1.2","mocha":"^3.2.0","eslint":"^3.16.1","funkie":"0.0.5","express":"^4.14.1","body-parser":"^1.16.1","webdriverio":"^4.6.2","cookie-parser":"^1.4.3","funkie-phantom":"0.0.1","express-session":"^1.15.1","hof-form-wizard":"^3.2.0","hof-util-autofill":"^1.0.2","hof-govuk-template":"^1.0.0","hof-template-mixins":"^3.4.0","hogan-express-strict":"^0.5.4","hof-template-partials":"^3.3.1","eslint-config-homeoffice":"^2.1.2","express-partial-templates":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-behaviour-address-lookup-2.2.1.tgz_1510844074491_0.22784533305093646","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"hof-behaviour-address-lookup","version":"2.2.2","keywords":[],"author":"","license":"MIT","_id":"hof-behaviour-address-lookup@2.2.2","maintainers":[{"name":"sarahjaneluff","email":"Sarah-Jane.Luff@digital.homeoffice.gov.uk"},{"name":"lennym","email":"leonard.martin@gmail.com"},{"name":"easternbloc","email":"ben@marvell-consulting.com"},{"name":"josephchapman","email":"joe@creatify.io"},{"name":"joefitter","email":"hello@joefitter.com"},{"name":"coupey","email":"paul@coupey.co.uk"},{"name":"sulthan-ahmed","email":"sulthanahmeduk@gmail.com"},{"name":"andrew.moody.ho","email":"andrew.moody@digital.homeoffice.gov.uk"},{"name":"alexfranklin","email":"alex.franklin@digital.homeoffice.gov.uk"},{"name":"aswann","email":"alex_swann@hotmail.co.uk"},{"name":"robertdeniszczyc2","email":"Robert.deniszczyc@digital.homeoffice.gov.uk"},{"name":"agraham19","email":"andrew.graham@digital.homeoffice.gov.uk"},{"name":"aaron.robinson","email":"aaron.robinson@digital.homeoffice.gov.uk"},{"name":"maxosully","email":"max.osullivan@digital.homeoffice.gov.uk"}],"dist":{"shasum":"44eb84cb5a2dbb435c230aa9fbc8da6287ab1b95","tarball":"https://registry.npmjs.org/hof-behaviour-address-lookup/-/hof-behaviour-address-lookup-2.2.2.tgz","fileCount":22,"integrity":"sha512-kjij8hDCRHFlY6sa4FNAd1CuFab6+LvRdWZ6dCu4Mx5n2T7FcDSdDCOwveAVUGhkY0i4gjDh1fTCQk7/zhL7qw==","signatures":[{"sig":"MEYCIQC8KlIp6TKVyS+p2e7Ljc855IEZbgQGGB6a8k68mN4SqQIhAK9N9JqGesmKaQdsqMpkt4KwRqTZ9Cw8u7vnz3UY3pAV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20878,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgQP6NCRA9TVsSAnZWagAAytsQAIrcjFDRFYytk6p31ngy\nhinxH7i66aAgTrUGzrgLMrmWGf+aLVT0kUVaprS4JQGSEgm5vynYCtFQQE2H\n70mAKoWpb9zoxhAGqUzjfer8xGzCj6ASWl3Dz+RTvFaVrNAI+RFRlBva3ydI\nubeULl4Hhr1DaR4PFyirYpXlSbyKmmc4ylqCHaC78oi8iCecb+X+0r+OlKzo\nEMgAGlakYY0hubCxJ29jeSRJAjJfJE+d+rURif6+/TVPXiQFCkqRxLJPqWwi\nRMu8fYurGK0TuB5c73QYOyM+jG7ntyZo8nIJLzXjFywvqCc5r8/I89z6Wrzx\nxcwWz04LZojuDV5sggJBiXD7Llq9P/+AkCbsBt4AGTJRuRdvmpBsWYHm430R\nFz/gbEVDSxfRHuu4f5LW+/Q84ijsdf/rl1SV69jz9m2pEQto94WwGWrmU14p\nUAkd3huMhT/sVB/cEV9IFwKjuPkut28Ht5o5NcZzXVbYSvfe56h/NUB1QEuJ\n/d7YIfEe66/7Txg8tauA01e/9VUQN34UnZit7eTc2sncLGBllDwMLlH55oyk\nbx+TSrLoBcVusDRFMzSnKnYtG38JdP5Gyn6mJMmUqjm7cM2et+j+hwyfDLmO\n/q9AYodTNkxYri+YAfpxkoV+8UZlnOQWQbuQO71fKuRbodv24EqhA+MD/X/9\nCosO\r\n=NNLo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","gitHead":"aaf37fd33e22dee9289e3d69e38ac8da7ad996f5","scripts":{"test":"npm run test:lint && npm run test:functional","test:lint":"eslint .","test:functional":"funkie mocha"},"_npmUser":{"name":"sarahjaneluff","email":"Sarah-Jane.Luff@digital.homeoffice.gov.uk"},"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_npmVersion":"6.14.9","description":"A HOF Behaviour for a multi-step postcode lookup","directories":{},"_nodeVersion":"8.10.0","dependencies":{"lodash":"^4.17.4","hof-model":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","mocha":"^3.2.0","eslint":"^3.16.1","funkie":"0.0.5","express":"^4.14.1","body-parser":"^1.16.1","webdriverio":"^4.6.2","cookie-parser":"^1.4.3","funkie-phantom":"0.0.1","express-session":"^1.15.1","hof-form-wizard":"^3.2.0","hof-util-autofill":"^1.0.2","hof-govuk-template":"^1.0.0","hof-template-mixins":"^3.4.0","hogan-express-strict":"^0.5.4","hof-template-partials":"^3.3.1","eslint-config-homeoffice":"^2.1.2","express-partial-templates":"^0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/hof-behaviour-address-lookup_2.2.2_1614872205403_0.6857467512688697","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-03-06T14:27:47.884Z","modified":"2026-09-21T15:12:47.010Z","1.0.0":"2017-03-06T14:27:47.884Z","1.1.0":"2017-03-07T13:27:34.770Z","1.1.1":"2017-03-08T09:37:18.259Z","1.2.0":"2017-03-21T12:03:17.493Z","2.0.0":"2017-04-07T11:55:01.538Z","2.1.0":"2017-09-19T14:48:05.935Z","2.1.1":"2017-09-20T15:15:06.948Z","2.2.0":"2017-10-30T15:28:29.422Z","2.2.1":"2017-11-16T14:54:35.417Z","2.2.2":"2021-03-04T15:36:45.571Z"},"license":"MIT","keywords":[],"description":"A HOF Behaviour for a multi-step postcode lookup","maintainers":[{"email":"aaron.russell@digital.homeoffice.gov.uk","name":"aaronrussellho"},{"email":"sas-hof-test@digital.homeoffice.gov.uk","name":"hof-bot-user"},{"email":"dk4g.blob@gmail.com","name":"dk4g"},{"email":"gregory.wolverson@digital.homeoffice.gov.uk","name":"greg_wolverson_ho"},{"email":"vinodha.samiyappan@digital.homeoffice.gov.uk","name":"vinodha.s"},{"email":"megan.john@digital.homeoffice.gov.uk","name":"meganjohn"},{"email":"nese.zorba@digital.homeoffice.gov.uk","name":"nzorba"},{"email":"rayhannur.rohman@digital.homeoffice.gov.uk","name":"rayhannurrohmanho"},{"email":"vivek.kumar1@digital.homeoffice.gov.uk","name":"vivekkumar-ho"},{"email":"ben@marvell-consulting.com","name":"easternbloc"},{"email":"joseph.chapman@creatify.io","name":"josephchapman"},{"email":"leonard.martin@gmail.com","name":"lennym"},{"email":"hello@joefitter.com","name":"joefitter"},{"email":"sulthanahmeduk@gmail.com","name":"sulthan-ahmed"},{"email":"Sarah-Jane.Luff@digital.homeoffice.gov.uk","name":"sarahjaneluff"},{"email":"max.osullivan@digital.homeoffice.gov.uk","name":"maxosully"}],"readme":"# hof-behaviour-address-lookup\n\nA HOF Behaviour for controlling a multi-step address lookup.\n\n## Usage\n\n```js\n// steps.js\n\nconst AddressLookup = require('hof-behaviour-address-lookup');\n\nmodule.exports = {\n  '/step-1' {\n    behaviours: AddressLookup({\n      addressKey: 'address-field'\n    })\n  }\n}\n```\n\n## Options\n\n* `addressKey` - REQUIRED - the key used to store the formatted address after lookup\n* `required` - if set to a truthy value then the address is required. By default a user can pass through without entering an address.\n* apiSettings - settings to pass to the Model on init. Default MOJ lookup api expects `hostname`, `authorization`, `paths.lookup` and `paths.validate`\n* `Model` - a custom Model which exposes a `fetch` method (and `validate` if using api validation). Both `fetch` and `validate` are expected to return a `Promise`\n* `validate` - a map of validators to pass to the Model's validate method. The default implementation supports `allowedCountries` which is an Array of accepted countries. - for only English addresses use:\n\n```js\nAddressLookup({\n  addressKey: 'address',\n  validate: {\n    allowedCountries: ['England']\n  }\n});\n```\n\n## Custom Model Integration\n\nIf you provide a custom model, you should provide a `fetch` method which returns a `Promise` and `resolves` with the data on a successful lookup, and rejects with an `Error` if the service is unavailable. In the case of the service being unavailable a message is shown and a textarea is shown for the address to be input manually.\n\nWhen providing a custom `validate` function, this should also return a `Promise` which resolves on a success validation, and rejects with an error  with status `418` if validation fails.\n\n## Locales\n\nThe following keys are expected to be defined in your translations file.\n\n* `pages.address-lookup.edit` - text to change the postcode once entered. Defaults to `'Change'`;\n* `pages.address-lookup.cantfind` - link text for manual entry if you cant find your address in the lookup. Defaults to `'I can\\'t find the address in the list'`\n* `fields.{key}-postcode.label` - Label for the postcode field when shown on the lookup and manual steps. Defaults to `'Postcode'`\n* `pages.address-lookup.postcode-api.not-found` - Message to show if postcode not found. Defaults to `'Sorry – we couldn’t find any addresses for that postcode, enter your address manually'`\n* `pages.address-lookup.postcode-api.cant-connect` - Message to show if unable to connect to the lookup service. Defaults to `'Sorry – we couldn’t connect to the postcode lookup service at this time, enter your address manually'`\n* `buttons.find-address` - Postcode submit button text. Required.\n","readmeFilename":"README.md"}