npm / npm/api-documentation

Consistent naming of package parameter

Open Beginner friendly
#74 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Handlebars
Stars
5
Forks
5
Avg merge
6h 35m
Merged PRs (30d)
3

Description

Currently, there are several parameter names for a package. The descriptions also vary quite a bit.

  • package
  • escapedPackageName
  • package_name
  • package-name
Suggestion

Consolidate these to packageName (in alignment with orgName and teamName).

Description: The name of a package. Must be URL-encoded. In particular, for scoped packages, "/" must be replaced by "%2f".

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the API documentation for package, escapedPackageName, package_name, and package-name, then compare nearby orgName and teamName parameters. Done means the package parameter consistently uses packageName and the description matches the specified URL-encoding guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
handlebars
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.