How to Install and Uninstall node-resolve-pkg Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 13,2024

1. Install "node-resolve-pkg" package

This tutorial shows how to install node-resolve-pkg on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-resolve-pkg

2. Uninstall "node-resolve-pkg" package

This is a short guide on how to uninstall node-resolve-pkg on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove node-resolve-pkg $ sudo apt autoclean && sudo apt autoremove

3. Information about the node-resolve-pkg package on Ubuntu 21.10 (Impish Indri)

Package: node-resolve-pkg
Architecture: all
Version: 2.0.0-1
Priority: optional
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17
Depends: node-resolve-from
Filename: pool/universe/n/node-resolve-pkg/node-resolve-pkg_2.0.0-1_all.deb
Size: 4544
MD5sum: 19eabfb24b38ed52a66b6d87226e9ac3
SHA1: 30847ff4ac2f4f43c6af91d2afb011119141a237
SHA256: ef5a00f408c512de716b3e502c282477c8bb592fb7481678cd6c8222b21fb498
SHA512: 7c8c0e1922988babe3f8d40fe8c50c9a946d64279c9e18de1582223eb071f41f8a39ac57b3a6f3678df9c1426937b69e07bd9a05a2492859fd9beb7a76169b1b
Homepage: https://github.com/sindresorhus/resolve-pkg
Description-en: 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.
Description-md5: 94a996d0cd8a37815a56b1248fe1d27e