Infer JavaScript SDK
Address autocompletion in any HTML input, with no framework.
@pro6pp/infer-js0.1.0-beta.32MIT licensePreview
Type in the field above. The request the SDK sends shows here.
Codefor the current settings
import { attach } from '@pro6pp/infer-js';
attach('#address-field', {
authKey: 'YOUR_AUTH_KEY',
country: 'NL',
onSelect: (result) => console.log('Selected:', result),
});StateInferState from onStateChange
No state yet.