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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@snack-news/create-pkg

v0.0.4

Published

CLI for easily create package

Downloads

2

Readme

@snack-news/create-pkg

유틸용 패키지 템플릿을 만들어주는 CLI 도구

Install

npm install @snack-news/create-pkg

Usage

# help
$ create-pkg -h #--help

# template 설정
$ create-pkg -n "패키지 이름"  -d "패키지 설명" -t ts
$ create-pkg -n "패키지 이름"  -d "패키지 설명" -t js
# 혹은 다음과 같이 사용 가능
$ create-pkg --name "패키지 이름"  --description "패키지 설명" --template ts
$ create-pkg --name "패키지 이름"  --description "패키지 설명" --template js

# 대화형 CLI 실행
$ create-pkg -i #--inquirer

fe_javascript_util 저장소에서는 다음과 같이 실행하면 됩니다.

$ cd fe_javascript_util
$ npm run create # create-pkg -i

template

템플릿 풀더 및 파일에 대해서.

뒤에 .hbs 라는 확장자는 템플릿 복사 과정에서 삭제됩니다.

.hbs라는 확장자를 붙인 이유 package.json이나 jest.config.js 등의 설정파일이 그대로 남아있게 되면, IDE에서 혹은 lerna에서 해석하려고 해서 에러가 나게 됩니다.

다음은 각 템플릿 풀더에 대한 설명입니다. js js용 템플릿. ts ts용 템플릿. common js와 ts 템플릿에 공통적인 파일. js 혹은 ts에 이미 동일한 이름의 파일이 존재하면 무시됩니다.