New:Socket for Asana Is Now Available.Learn more
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

Source
npmnpm
Version
0.1.4
Version published
Weekly downloads
9
-70.97%
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 27 Jun 2026

Related posts