MoJ postcode lookup client
npm install @hmcts/postcodeinfo-clientAPI Client wrapper for MoJ Postcode Info API
which contains public sector information licensed under the Open Government License v2.0



You will need an _authentication token_ ('auth token'). If you're using MoJ DS's Postcode Info server,
you can get one by emailing platforms@digital.justice.gov.uk with a brief summary of:
* who you are
* what project you're going to be using it on
* roughly how many lookups you expect to do per day
If you're running your own server, see https://github.com/ministryofjustice/postcodeinfo#auth_tokens for instructions on how to set a token up.
bash
$ yarn add @hmcts/postcodeinfo-client
`Typescript:
`ts
import { PostcodeInfoClient } from '@hmcts/postcodeinfo-client'new PostcodeInfoClient('').lookupPostcode('SN15NB')
`- Javascript -
`js
const PostcodeInfoClient = require('@hmcts/postcodeinfo-client').PostcodeInfoClientnew PostcodeInfoClient('').lookupPostcode('SN15NB')
``