@simon04/npm2arch
v2.2.0
Published
Convert NPM package to a PKGBUILD for ArchLinux
Downloads
37
Readme
npm2arch
Convert npm packages/package.json into a PKGBUILD for Arch Linux integration.
This is a fork of the unmaintained Filirom1/npm2arch.
Install
From AUR
yaourt -S nodejs-npm2arch
From sources
git clone https://github.com/Filirom1/npm2arch
cd npm2arch
[sudo] npm install -g
Usage
npm2PKGBUILD
Transform an npm package into an Arch Linux PKGBUILD
npm2PKGBUILD $NPM_NAME > PKGBUILD
makepkg
pacman -U nodejs-$NPM_NAME-$VERSION-any.pkg.tar.xz
npm2aurball
Transform an npm package into an AUR tarball using mkaurball
npm2aurball $NPM_NAME
npm2archpkg
Transform an npm package into an Arch Linux package archive
npm2archpkg $NPM_NAME
pacman -U nodejs-$NPM_NAME-$VERSION-any.pkg.tar.xz
npm2archinstall
Install an npm package with pacman
npm2archinstall $NPM_NAME
License
npm2arch is licensed under the MIT License.