npm install --save @ideal-postcodes/address-finder
import { AddressFinder } from "@ideal-postcodes/address-finder";
AddressFinder.setup({
inputField: "#input",
apiKey: "iddqd",
injectStyle: true,
outputFields: {
line_1: "#line_1",
line_2: "#line_2",
line_3: "#line_3",
post_town: "#post_town",
postcode: "#postcode",
},
});
npm install && npm start