Nonstick Pancake Maker

    sic-codes
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    SIC Codes

    Installation

    npm i sic-codes -S

    Usage

    To get the description of a SIC code, use the getCode function:

    import { getCode } from 'sic-codes';
    
    const description = getCode('62020'); // 'Information technology consultancy activities'

    To get the SIC code of a description, use the getDescription function:

    import { getDescription } from 'sic-codes';
    
    const description = getDescription('Information technology consultancy activities'); // '62020'

    To get a list of all SIC code data, use the getData function:

    import { getData } from 'sic-codes';
    
    const data = getData();
    /** data is in the format [code: string, description: string][], e.g.
     * [
     *   ['01110', 'Growing of cereals (except rice), leguminous crops and oil seeds'],
     *   ['01120', 'Growing of rice'],
     *   ...etc
     * ]
     */

    Install

    npm i sic-codes

    DownloadsWeekly Downloads

    4

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    49.2 kB

    Total Files

    13

    Last publish

    Collaborators

    • ezard