Skip to content

package.json and npm package do not declare a license #232

Description

@TH1Q89

The current npm package and default-branch package.json do not declare a license.

Reproduction:

npm view xendit-node@7.0.0 name version repository homepage bugs license --json
git clone --depth 1 https://github.com/xendit/xendit-node.git
cd xendit-node
node -e "const p=require('./package.json'); console.log(p.license ?? '<missing>')"
find . -maxdepth 1 -iname 'license*' -o -iname 'copying*'

Actual result:

  • npm view returns repository/homepage/bugs metadata, but no license field.
  • package.json on master also has no license field.
  • I could not find a top-level LICENSE/COPYING file in the current default branch.

Expected result:

The package should declare the intended license in package.json and/or include the corresponding top-level license file, so downstream users and license scanners can determine the package license.

Notes:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions