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

Last updated: May 03,2024

1. Install "node-accepts" package

Here is a brief guide to show you how to install node-accepts on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-accepts

2. Uninstall "node-accepts" package

Please follow the step by step instructions below to uninstall node-accepts on Ubuntu 21.10 (Impish Indri):

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

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

Package: node-accepts
Architecture: all
Version: 1.3.7-1
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 26
Depends: node-mime-types (>= 2.1.18), node-negotiator (>= 0.6.1), nodejs
Filename: pool/universe/n/node-accepts/node-accepts_1.3.7-1_all.deb
Size: 6368
MD5sum: f746e42bd4ec2b68ceecc58b2acaff57
SHA1: f05c2a4d65750ccf0306f7a41e86b4b3017e1137
SHA256: dff77ce093f7989bb57b75be4769e49b5ce5835e8741db1dfe5b255e18a35072
SHA512: 5d97a95b1fbd14413df55c8e2888123e3d4bf5f1b36766fa01dd72ea68780448ec50b28fb4e378081244b208e45e871149cde119077291bcf22b03a437f43091
Homepage: https://github.com/jshttp/accepts
Description-en: higher-level content negotiation for Node.js
Higher level content negotiation based on negotiator.
.
In addition to negotiator, it allows:
- Allows types as an array or arguments list, ie
`(['text/html', 'application/json'])`
as well as `('text/html', 'application/json')`.
- Allows type shorthands such as `json`.
- Returns `false` when no types match
- Treats non-existent headers as `*`
.
Node.js is an event-based server-side JavaScript engine.
Description-md5: dae95d9ca2b0746fd0c2a4fdb437179f