How to Install and Uninstall node-accepts Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: December 23,2024

1. Install "node-accepts" package

This is a short guide on how to install node-accepts on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install node-accepts

2. Uninstall "node-accepts" package

Please follow the steps below to uninstall node-accepts on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the node-accepts package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: node-accepts
Priority: extra
Section: universe/web
Installed-Size: 46
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Architecture: all
Version: 1.1.1-1
Depends: nodejs, node-negotiator, node-mime-types
Filename: pool/universe/n/node-accepts/node-accepts_1.1.1-1_all.deb
Size: 5314
MD5sum: e0406010a7d6cb1013d1a25e38dd53c1
SHA1: a98fe2e5e0ccdb5d9aac559b0293097bd0b1aa8f
SHA256: dc034b16982aa2e51bb50fc7ba0e2703a0a36e610a79567316f1678c29e1dc4a
Description-en: higher-level content negotiation for Node.js
Higher level content negotiation based on negotiator.
.
In addition to negotatior, 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: 44840c80cbd9d6a1e9ba359114bb3edb
Homepage: https://github.com/jshttp/accepts
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu