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

Last updated: May 13,2024

1. Install "node-has-cors" package

Please follow the steps below to install node-has-cors on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-has-cors

2. Uninstall "node-has-cors" package

Please follow the instructions below to uninstall node-has-cors on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove node-has-cors $ sudo apt autoclean && sudo apt autoremove

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

Package: node-has-cors
Architecture: all
Version: 1.1.0-1.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: 18
Depends: nodejs
Filename: pool/universe/n/node-has-cors/node-has-cors_1.1.0-1.1_all.deb
Size: 3604
MD5sum: e96987a09f880b1b0a1ea705c20ea6ae
SHA1: 9820571c4062b87d3f32c0d2ef32a01413211d68
SHA256: c3f55d298c5fcb7d479a997173fdf0fca4b5b1ef39cb144b76ee45fc5fdc083b
SHA512: e0a1c8387e1678ab354cff1d68d480bfc8bed5727cbfead63dc385d93a58849614a1e447b6f107dcd0c903177b8c8fca1cae41ccedf27987ee756a4c763ad07f
Homepage: https://github.com/component/has-cors
Description-en: Detect support for Cross-Origin Resource Sharing
Node.js module to detect support for CORS (Cross-Origin Resource
Sharing), the mechanism that allows restricted resources on a web
page to be requested from another domain outside the domain from
which the resource originated.
.
Node.js is an event-based server-side JavaScript engine.
Description-md5: 5d6916721250f235519a8bcf4d6c44cb