Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
convert npm package to PKGBUILD
CoffeeScript JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
test
.gitignore
LICENSE
README.md
index.js
package.json

README.md

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.

Something went wrong with that request. Please try again.