1.0.2 • Published 2 years ago

sic-codes v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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
 * ]
 */
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago