UNPKG

sic-data-lookup

Version:

A small JavaScript/TypeScript utility for SIC code data lookup.

11 lines (10 loc) 526 B
import { SicEntry } from "./types.js"; /** * Retrieves the office and industry title(s) for a given SIC code. * The data is pre-parsed during the build process for efficiency. * * @param {number | string} sicCode - The SIC code to look up. * @returns {SicEntry[]} An array of objects containing 'office' and 'industry' for all matching entries. * Returns an an empty array if no matches are found or if the input is invalid. */ export declare function getOfficeAndIndustryFromSic(sicCode: number | string): SicEntry[];