npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ph-dev-utils/psic

v0.1.0

Published

Philippine Standard Industrial Classification (PSIC 2009) — 21 sections (A–U) and 88 divisions with lookup, validation, and search helpers. Data from the PSA/NSCB.

Readme

@ph-dev-utils/psic

npm version License: MIT

The Philippine Standard Industrial Classification (PSIC 2009) for JavaScript/TypeScript — the 21 sections (1-letter codes A–U) and 88 divisions (2-digit codes) with lookup, validation, and keyword-search helpers. Part of the @ph-dev-utils family.

Bundled dataset is browser-safe (compiled in, no network, no fs). Pairs naturally with @ph-dev-utils/business for tagging a registered company's industry.

npm install @ph-dev-utils/psic

Quick start

import { findSection, findDivision, sectionOf, listDivisions, search } from '@ph-dev-utils/psic';

findSection('C');            // { code: 'C', title: 'Manufacturing', divisions: ['10', …, '33'] }
findDivision('62');          // { code: '62', title: 'Computer programming, …', section: 'J' }
sectionOf('62');             // { code: 'J', title: 'Information and communication', … }

listDivisions({ section: 'C' });   // the 24 manufacturing divisions (10–33)
search('insurance');               // { sections: [K], divisions: [64?, 65, 66] }

API

| Function | Returns | | --- | --- | | listSections() | Section[] — all 21 sections (A–U) | | listDivisions(filter?) | Division[] — all 88; filter by section (case-insensitive) | | findSection(code) | Section \| null — by 1-letter code (case-insensitive) | | findDivision(code) | Division \| null — by 2-digit code | | sectionOf(divisionCode) | Section \| null — the parent section of a division | | isSectionCode(code) | boolean — is it one of the 21 section letters | | isDivisionCode(code) | boolean — is it one of the 88 division codes | | search(query) | { sections, divisions } — keyword match on titles, or exact code | | META | provenance + version note for the bundled data |

Types

interface Section {
  code: string;        // 'A'–'U'
  title: string;
  divisions: string[]; // 2-digit codes under this section
}

interface Division {
  code: string;        // 2-digit
  title: string;
  section: string;     // parent section letter
}

Scope & data

This release covers the two stable top levels of PSIC 2009 — sections and divisions — which is what most industry-categorisation use cases need. The finer group / class / sub-class levels (3–5 digit codes) are out of scope for now.

Data is transcribed from the PSA/NSCB 2009 PSIC codes document (PSIC 2009 is patterned after the UN ISIC Rev.4 at the division level). PSIC 2019 is a newer revision of the standard — confirm against the PSA when the latest codes matter. Not affiliated with the PSA/NSCB. See NOTICE for attribution.

License

MIT. Classification data is factual public information from the PSA/NSCB.