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

Last updated: April 24,2024

1. Install "node-concat-map" package

This guide let you learn how to install node-concat-map on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install node-concat-map

2. Uninstall "node-concat-map" package

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

$ sudo apt remove node-concat-map $ sudo apt autoclean && sudo apt autoremove

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

Package: node-concat-map
Architecture: all
Version: 0.0.1-2
Priority: extra
Section: universe/web
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Javascript Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 17
Depends: nodejs
Filename: pool/universe/n/node-concat-map/node-concat-map_0.0.1-2_all.deb
Size: 4008
MD5sum: 5f02feab1a6a144a0e2e221018c9132d
SHA1: 294c871042c76975536405378f424e7dc27e4c28
SHA256: 0b5aee64db2f1f9df229eaad2e2a560c0214060f81c2f406bbd615bc6e348315
SHA512: aa9287e54b218980a2ad11b85ca6f4a6094380b3263fb3bb6c1fa889147777a6ee0a888184f0db426af6ef77fb19cae8bb4386bbf18e6f72867e9cbb8514ba00
Homepage: https://github.com/substack/node-concat-map
Description-en: concatenative mapdashery for Node.js
node-concat-map provides a single method concatMap(xs, fn) that will return
an array of concatenated elements by calling fn(x, i) for each element x and
each index i in the array xs.
.
When fn(x, i) returns an array, its result will be concatenated with the
result array. If fn(x, i) returns anything else, that value will be pushed
onto the end of the result array.
.
Node.js is an event-based server-side JavaScript engine.
Description-md5: da7946ac48676bec6248520405beb166