Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> web >> node-resolve-pkg
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: node-resolve-pkg  ]

套件: node-resolve-pkg (2.0.0-2)

Resolve the path of a package regardless of it having an entry point

Some packages like CLI tools and grunt tasks don't have a entry point, like `"main": "foo.js"` in package.json, resulting in them not being resolvable by `require.resolve()`. Unlike `require.resolve()`, this module also resolves packages without an entry point, returns `null` instead of throwing when the module can't be found, and resolves from `process.cwd()` instead `__dirname` by default.

Node.js is an event-based server-side JavaScript engine.

其他與 node-resolve-pkg 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 node-resolve-pkg

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 4.5 kB17 kB [文件列表]