Nucleic Photon Magnetizer

    @simon04/npm2arch

    2.2.0 • Public • Published

    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.

    Keywords

    none

    Install

    npm i @simon04/npm2arch

    DownloadsWeekly Downloads

    12

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    9.86 kB

    Total Files

    12

    Last publish

    Collaborators

    • simon04