npm2arch

Convert NPM package to a PKGBUILD for ArchLinux

Npm2Arch

Convert npm packages into a PKGBUILD for Archlinux integration.

NPM package.json --> PKGBUILD for pacman

yaourt -S nodejs-npm2arch

git clone https://github.com/Filirom1/npm2arch
cd npm2arch
[sudo] npm install -g

Transform an npm package into an ArchLinux PKGBUILD

npm2PKGBUILD `npm-name` > PKGBUILD
makepkg
pacman -U nodejs-`name`-`version`-any.pkg.tar.xz

Transform an npm package into an AUR tarball using mkaurball

npm2aurball `npm-name`

Transform an npm package into an ArchLinux package archive

npm2archpkg `npm-name`
pacman -U nodejs-`name`-`version`-any.pkg.tar.xz

Install an npm package with pacman

npm2archinstall `npm-name`

npm2arch is licensed under the MIT License.