Skip to content
Sections
>> Trisquel >> Pakiety >> aramo >> web >> node-resolve-pkg
etiona  ] [  nabia  ] [  aramo  ]
[ Pakiet źródłowy: node-resolve-pkg  ]

Pakiet: 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.

Inne pakiety związane z node-resolve-pkg

  • wymaga
  • poleca
  • sugeruje

Pobieranie node-resolve-pkg

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 4,5 KiB17 KiB [lista plików]