There are two popular package managers in the Node.js ecosystem: NPM which is bundled with Node.js, and Yarn, a third-party package manager that is compatible with NPM.
debops.nodejs Ansible role can be used to manage a Node.js environment
on a host. By default, it will install Node.js, NPM and Yarn packages included
in a given OS release (if possible), but it can also automatically install or
upgrade an existing installation to their upstream versions.
debops.nodejs - Manage NodeJS environment using Ansible Copyright (C) 2015-2019 Maciej Delmanowski <email@example.com> Copyright (C) 2016 Patrick Heeney <firstname.lastname@example.org> Copyright (C) 2015-2019 DebOps https://debops.org/ This Ansible role is part of DebOps. DebOps is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3, as published by the Free Software Foundation. DebOps is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with DebOps. If not, see https://www.gnu.org/licenses/.