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

neis-api.ts

v1.7.6

Published

Neis Open API Wrapper for TypeScript

Readme

neis-api.ts

License npm

TypeScript-based NEIS OPEN API wrapper

Features

🔧 Full TypeScript support

🚀 Simple method calls

📊 Performance stats

🎯 12 NEIS endpoints

Install

npm install neis-api.ts
yarn add neis-api.ts
pnpm add neis-api.ts

Version 1.7.0 >=

const neis = new NeisApi({
  key: NEIS_API_KEY,
  stats: true, // Activate using true
});

// [API Http Stats - Endpoint: schoolInfo | Response Time: 251ms] <-- API call and response time output function

Endpoints

Basic Argument

|변수명|타입|변수 설명|설명| |-----|-----|-----|-----| |key|STRING(필수)|인증키|기본값 : ❌| |type|STRING(선택)|호출 문서(xml, json)|기본값 : json| |pIndex|INTEGER(선택)|페이지 위치|기본값 : 1| |pSize|INTEGER(선택)|페이지 당 신청 숫자|기본값 : 100| |stats|BOOLEAN(선택)|API 호출/응답 시간|기본값 : false|

Usage

import NeisApi from "neis-api.ts";

const neis = new NeisApi({
  key: NEIS_API_KEY,
});

const fetch = async () => {
  try {
    const response = await neis.getSchoolInfo({
      ATPT_OFCDC_SC_CODE: "시도교육청코드",
      SD_SCHUL_CODE: "행정표준코드",
    });
    console.log("API response:", response);
  } catch (error) {
    console.error("Error:", error);
  }
};

fetch();

NEIS API Docs

  • https://open.neis.go.kr/portal/mainPage.do