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

Last updated: May 14,2024

1. Install "node-requirejs" package

In this section, we are going to explain the necessary steps to install node-requirejs on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-requirejs

2. Uninstall "node-requirejs" package

Here is a brief guide to show you how to uninstall node-requirejs on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove node-requirejs $ sudo apt autoclean && sudo apt autoremove

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

Package: node-requirejs
Architecture: all
Version: 2.3.6+ds-1
Priority: extra
Section: universe/web
Source: requirejs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1287
Provides: node-types-requirejs
Depends: nodejs
Breaks: node-typescript-types (<< 20201122~)
Filename: pool/universe/r/requirejs/node-requirejs_2.3.6+ds-1_all.deb
Size: 197200
MD5sum: adaa53e02ad1e28bf56daec63905da16
SHA1: 15bef89df67ded6493d216e6e0161911476df399
SHA256: 8cb65a2883c4a3330b5b4aef9ab5361e393fac78a196f5ec85a0e682be809890
SHA512: 09fda7c9e088c53c6790d529e982462068b2e3d6cf65e9a4bc83cbe2a1e7e05fe0ffe329b0094dfbac7058dc305b00fcd3246faa90e22f54929590eb3dbaf8b5
Homepage: https://github.com/jrburke/r.js
Description-en: JavaScript file and module loader - NodeJS
RequireJS loads plain JavaScript files as well as more defined
modules. It is optimized for in-browser use, including in a Web
Worker, but it can be used in other JavaScript environments, like
Rhino and Node. It implements the Asynchronous Module API
.
RequireJS uses plain script tags to load modules/files, so it should
allow for easy debugging. It can be used simply to load existing
JavaScript files, so you can add it to your existing project without
having to re-write your JavaScript files.
.
RequireJS includes an optimization tool you can run as part of your
packaging steps for deploying your code. The optimization tool can
combine and minify your JavaScript files to allow for better
performance.
.
If the JavaScript file defines a JavaScript module via define(), then
there are other benefits RequireJS can offer: improvements over
traditional CommonJS modules and loading multiple versions of a
module in a page. RequireJS also has a plugin system that supports
features like i18n string bundles, and text file dependencies.
.
RequireJS does not have any dependencies on a JavaScript
framework.
.
The standard require.js file is around 5.5KB when minified via
Closure Compiler and gzipped.
.
This package also provides a script r.js, that has two major functions:
* Run AMD-based projects in Node and Rhino.
* Includes the RequireJS Optimizer that combines scripts for optimal
browser delivery.
Description-md5: b4a1c212e068b2f8b087e8b4edb5eae9