Sign In

@sthan/core

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sthan/core

TypeScript client for sthan.io APIs — address verification, parsing, autocomplete, geocoding, IP geolocation

latest
Source
npmnpm
Version
0.1.5
Version published
Weekly downloads
29
26.09%
Maintainers
1
Weekly downloads
 
Created
Source

@sthan/core

TypeScript client for sthan.io APIs.

Usage

import { SthanClient } from "@sthan/core";

const client = new SthanClient({ apiKey: "sthan_test_your_key" });

const result = await client.verifyAddress("123 Main St, New York, NY 10001");
console.log(result.Result);

Methods

MethodDescription
verifyAddress(address)Verify US address deliverability
parseAddress(address)Parse freeform address into components
autocompleteAddress(text)Address suggestions from partial input
autocompleteCity(text, displayType?)City suggestions
autocompleteZipCode(text, displayType?)ZIP code suggestions
geocodeAddress(address)Forward geocode (address to coordinates)
reverseGeocode(lat, lon)Reverse geocode (coordinates to address)
ipGeolocation(ip)IP address location lookup

License

MIT

Keywords

sthan

FAQs

Package last updated on 28 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts