
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Standard industrial classification list based on the excellent country-list package
Maps Standard Industial Classification (SIC) codes to English descriptions and vice versa.
https://www.npmjs.com/package/sic-list
Available in typescript
https://www.npmjs.com/package/@types/sic-list
const { getCode, getDescription } = require("sic-list");
// codes must be strings
console.log(getDescription("43290")); // "Other construction installation"
console.log(getCode("Operation of rail freight terminals")); // "52211"
console.log(getCode("01101000 01100101 01101100 01101100 01101111")); // undefined
How to change the description for a code
const { overwrite, getDescription } = require("sic-list");
overwrite([
{ code: "01230", description: "Growing of citrus fruits and wild mushrooms" }
]);
console.log(getDescription("01230")); // "Growing of citrus fruits and wild mushrooms"
Usage:
const sicList = require("sic-list");
All input is case-insensitive.
Expects an array of sic objects containing code and description properties.
Replaces a description for a given code.
[
{
code: "01210",
description: "Growing of white, black and red grapes"
}
];
Expects an sic code.
Returns the description for that sic code.
If not found, it returns undefined.
Expects the English sic description.
Returns the code for that country.
If not found, it returns undefined.
Returns an array of all sic descriptions.
Returns an array of all sic codes.
Returns a key-value object of all sics with the description as key.
Returns a key-value object of all sics with the code as key.
Returns an array of all sic information, in the same format as it gets imported.
npm install sic-list
or
yarn add sic-list
For typescript
npm install @types/sic-list
or
yarn add @types/sic-list
MIT
Uses data from the Office of National Statistics (UK SIC 2007)
Which makes the list of SIC codes available free of charge.
FAQs
Standard industrial classification list based on the excellent country-list package
The npm package sic-list receives a total of 88 weekly downloads. As such, sic-list popularity was classified as not popular.
We found that sic-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.