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

boj

v0.5.7

Published

script set for boj

Readme

npm version npm license code size in bytes BOJ Toolchain

boj

Modern problem-solvers require modern toolchains.

설치

npm 계열 패키지 매니저가 필요합니다.

yarn global add boj            # for yarn
npm install -g boj             # for npm

:tada: 끝!

사용법

(TODO) boj new <folder-name> [--template <git-url>]

템플릿을 기반으로 저장소를 초기화 합니다.

(TODO) boj cat [--id <number>]

터미널에서 백준 문제를 읽습니다.

boj solve

Playwright를 통해 백준에 제출합니다. 맞았습니다!!가 뜨면 meta.json의 status 항목을 solved로 바꿀지 물어봅니다.

boj hide-solved

이미 풀었고, 노트가 완성되어 더 이상 업데이트가 없을 문제를 숨깁니다. VS Code에서만 지원합니다.

boj init [--id <number>]

문제 초기 설정을 수행합니다. 템플릿을 기반으로 솔루션 파일, meta.json, Note.md를 생성합니다. Note.md와 솔루션 파일의 경우 생략하고 이후에 다시 명령어를 수행해 생성할 수 있습니다. 솔루션 템플릿 파일은 template/{language-id}/*.{file extension} 에 저장하며, 기본적으로 template/{language-id}/main.{file extension}이 선택됩니다. 스페이스 키로 선택/해제할 수 있습니다. 각 템플릿은 줄바꿈 문자 두 개로(\n\n) 결합하여 사용합니다. main 템플릿이 맨 아래 오는 것이 보장됩니다.

boj run

솔루션 파일을 선택하고 BOJ 실행 환경과 유사한 상태로 만들어 실행합니다. 설정을 통해 실행 환경을 조정할 수 있습니다.

(TODO) boj test <number>

솔루션 파일을 선택하고 테스트 수트를 수행합니다. /{number}/test/ 폴더가 없거나 파일이 하나도 없는 경우 종료 코드 1로 종료합니다. /{number}/solution.{file extension} 을 BOJ 실행 환경과 유사한 상태로 만들어 실행합니다. 그리고 모든 {name}에 대해, /{number}/test/{name}.in을 입력으로 넣었을 때 /{number}/test/{name}.out 결과물과 동일한지 검증합니다. 이 검증 과정은 라인 피드 문자 (\n)나 뒤에 붙는 공백 문자 등 시각적으로 보이지 않는다고 해도 다르다면 거부합니다.

boj update-readme [--force]

template/README.template.md를 기반으로 README.md 파일을, {problem-number}/Note.md를 기반으로 {problem-number}/README.md 파일을 업데이트합니다. 해당 템플릿 파일은 GFM을 확장한 마크다운 방언[1]을 사용합니다.

boj update-symlink

저장소 루트에 있는 심링크 파일들을 업데이트합니다.

boj clean

.boj-cache/ 폴더를 제거합니다.