Npm2Arch
Convert npm packages into a PKGBUILD for Archlinux integration.
NPM package.json --> PKGBUILD for pacman
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 ArchLinux PKGBUILD
npm2PKGBUILD `npm-name` > PKGBUILD
makepkg
pacman -U nodejs-`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 ArchLinux package archive
npm2archpkg `npm-name`
pacman -U nodejs-`name`-`version`-any.pkg.tar.xz
npm2archinstall
Install an npm package with pacman
npm2archinstall `npm-name`
License
npm2arch is licensed under the MIT License.