Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> web >> node-resolve-pkg
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: node-resolve-pkg  ]

软件包: node-resolve-pkg (0.2.0-1)

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 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: node-resolve-from (>= 2.0.0)
    Resolve the path of a module from a given path
  • dep: nodejs
    evented I/O for V8 javascript

下载 node-resolve-pkg

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 3.7 kB16 kB [文件列表]