fingerprint-oss
Version:
A comprehensive JavaScript library for device fingerprinting and system information collection. Provides robust, deterministic fingerprinting for web applications with privacy-conscious design.
24 lines (23 loc) • 1.18 kB
TypeScript
/*!
* Copyright (c) 2025 Akshat Kotpalliwar (alias IntegerAlex on GitHub)
* This software is licensed under the GNU Lesser General Public License (LGPL) v3 or later.
*
* You are free to use, modify, and redistribute this software, but modifications must also be licensed under the LGPL.
* This project is distributed without any warranty; see the LGPL for more details.
*
* For a full copy of the LGPL and ethical contribution guidelines, please refer to the `COPYRIGHT.md` and `NOTICE.md` files.
*/
interface TimeZone {
geoip?: string | null | undefined;
localtime?: string | null | undefined;
}
/**
* Determines the likelihood of VPN usage based on provided geoip and localtime time zone information.
*
* Returns an object containing the inferred VPN status and an associated probability score.
*
* @param timeZone - An object containing optional `geoip` and `localtime` time zone strings.
* @returns An object with a `vpn` property, which includes a boolean `status` indicating suspected VPN usage and a numeric `probability` representing confidence in the assessment.
*/
export declare function getVpnStatus(timeZone: TimeZone): Promise<Object>;
export {};