lurq

npm package

Home

get-package-type

get-package-type is a utility for determining the `package. json#type` for a given file location. It is useful for deciding whether to load a configuration file using `require` or `import`.

lurq health score
39/100
Confidence
unproven
Weekly downloads
53,729,001
Latest version
0.1.0
Last release
May 19, 2020
License
MIT

Should you depend on get-package-type?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks get-package-type at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Other validation packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 1, 2026; this page refreshes every 24 hours. Source repository.