Back to Explore

cfware/get-package-type

GitHub
1 watchersOpen source

Last release:

get-package-type determines which value of `package.json#type` applies to a given filename, reporting `commonjs` when no truthy `type` value is found. It is useful for deciding whether a config or file should be loaded with `require` or `import`, and it does not validate the `type` value itself.

Project status

  • Maintenance status: Not actively maintained, upstream push and the only observed update are from 2020-05-19.
  • Update cadence: No evidence of ongoing updates since that date, implying a long gap of multiple years with no new updates.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v0.1.0

    Release v0.1.0 was published on 2020-05-19, but no release notes were provided by the publisher. As a result, there is no documented information about new features, bug fixes, breaking changes, security updates, or migration steps.