@oc-digital/ch-constants
v0.0.4
Published
npm javascript publication of the constants found in this repo: https://github.com/companieshouse/api-enumerations
Downloads
1,598
Keywords
Readme
CH Constants
npm javascript publication of the constants found in this repo: https://github.com/companieshouse/api-enumerations
Example usage:
import { OfficerRole, SicDescriptions } from '@oc-digital/ch-constants';
console.log(OfficerRole.director) // logs "Director"
console.log(SicDescriptions["1440"]) // logs "Production of salt"
Published as ES modules with Typescript definitions.
Built automatically by pulling the yaml file from the Companies House repository directly.