Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Indicate more prominently when a package has one or several "bin"

オープン
#2,927 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
nuxt, typescript
領域
frontend, search

調査の方向性

Start by reading the package page's “Get Started” section and existing badges, then trace how package metadata is used in the search results and filters. The issue names no source files or tests, so locate those entry points in the repository before choosing a scope. Done means packages with one or more binaries are clearly identified, their names or count are surfaced, and the requested search filter is addressed.

索引モデルが issue の本文から書いたものです。

説明

front needs discussion
Describe the feature

Hello

Currently when a given package can be used as a "binary", like ESLint, the "Get Started" section of the page is expanded to show npx (and related for other package-manager) command in the short snippet. (more info at https://github.com/npmx-dev/npmx.dev/issues/694)

Example with Prettier:

npm install prettier
npm install -D prettier
npx prettier

This is great! But I would argue that it could also be surfaced more prominently as a badge (next to the existing ones like ✓ Types, ✓ ESM…) to be even more discoverable. Because it took me a while to see the aforementioned npx line. My eyes were stubbornly skipping this "Get Started" snippet.

Also, some packages expose more than 1 "bin".
For example this is the case of Ts-node

  "bin": {
    "ts-node": "dist/bin.js",
    "ts-node-cwd": "dist/bin-cwd.js",
    "ts-node-esm": "dist/bin-esm.js",
    "ts-node-script": "dist/bin-script.js",
    "ts-node-transpile-only": "dist/bin-transpile.js",
    "ts-script": "dist/bin-script-deprecated.js"
  },

So it would be great that this mention of "6 binaries", and even their names be displayed somewhere.

Finally, in the search-engine result list, it would be great to be able to filter by packages which expose "bin".

Thanks

Additional information
  • Would you be willing to help implement this feature?
Final checks
主要言語
TypeScript
スター
3.6k
フォーク
533
平均マージ
4日 13時間
マージ済み PR(30日)
40

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

npmx-dev/npmx.dev のほかの issue

npmx-dev/npmx.dev の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。