2.2.0 • Published 4 years ago

@simon04/npm2arch v2.2.0

Weekly downloads
15
License
MIT
Repository
github
Last release
4 years ago

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.

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.0

7 years ago