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 [ファイル一覧]