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

architecture-generator

v0.0.3

Published

(WIP) Generate architecture for your project

Readme

목표

프로젝트 구조 설정, 파일 생성 위한 command 생성

진행 현황

  • [x] console.log 를 수행하는 command
  • [x] 프로젝트 폴더 구조, 파일 생성
  • [x] npm 에 라이브러리 배포
    • https://www.npmjs.com/package/architecture-generator
  • [ ] npm 으로 설치 시, 정상 동작되도록 수정
    • node ./node_modules/architecture-generator/index.js init 로 실행시에는 동작하는데, 의도한 architecture-generator init 으로는 동작하지 않는 문제 확인
  • [ ] nest new 와 호환되어 구조 설정
  • [ ] test 설정
  • [ ] logging 설정
  • [ ] monitoring 설정
  • [ ] AI 를 활용한 용도에 맞는 구조 설정

실행 방법

console.log 를 수행하는 command

➜  architecture-generator git:(main) ✗ npx tsc index.ts
➜  architecture-generator git:(main) ✗ node index.js help print
Usage: index print [options] <string>

Print the message in your console

Arguments:
  string           input the message to print

Options:
  -c --capitalize  Capitalize the message
  -h, --help       display help for command
➜  architecture-generator git:(main) ✗ node index.js print hello
hello
➜  architecture-generator git:(main) ✗ node index.js print hello -c
HELLO

프로젝트 폴더 구조, 파일 생성해주는 command

➜  architecture-generator git:(main) ✗ tree -I "node_modules"
.
├── README.md
├── index.js
├── index.ts
├── package.json
├── tsconfig.json
└── yarn.lock

1 directory, 6 files
➜  architecture-generator git:(main) ✗ yarn architecture:init
yarn run v1.22.21
$ npx tsc index.ts && node index.js init
✨  Done in 1.69s.
➜  architecture-generator git:(main) ✗ tree -I "node_modules"
.
├── README.md
├── index.js
├── index.ts
├── package.json
├── src
│   ├── app
│   │   ├── account
│   │   │   ├── adapter
│   │   │   │   ├── in
│   │   │   │   │   └── web
│   │   │   │   │       └── controller.ts
│   │   │   │   └── out
│   │   │   │       └── persistence
│   │   │   │           ├── entity.ts
│   │   │   │           ├── mapper.ts
│   │   │   │           ├── persistence-adapter.ts
│   │   │   │           └── repository.ts
│   │   │   ├── application
│   │   │   │   ├── port
│   │   │   │   │   ├── in
│   │   │   │   │   │   ├── command.ts
│   │   │   │   │   │   ├── query.ts
│   │   │   │   │   │   └── usecase.ts
│   │   │   │   │   └── out
│   │   │   │   │       └── port.ts
│   │   │   │   └── service
│   │   │   │       └── service.ts
│   │   │   └── domain
│   │   │       └── entity.ts
│   │   ├── common
│   │   └── resources
│   └── test
│       ├── account
│       │   ├── adapter
│       │   │   ├── in
│       │   │   │   └── web
│       │   │   │       └── controller.test.ts
│       │   │   └── out
│       │   │       └── persistence
│       │   │           └── persistence-adapter.test.ts
│       │   ├── application
│       │   │   └── service
│       │   │       └── service.test.ts
│       │   └── domain
│       │       └── entity.test.ts
│       ├── common
│       └── resources
├── tsconfig.json
└── yarn.lock

29 directories, 21 files

참고