Socket
Socket
Sign inDemoInstall

npm2arch

Package Overview
Dependencies
166
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    npm2arch

Convert NPM package to a PKGBUILD for ArchLinux


Version published
Maintainers
2
Install size
6.68 MB
Created

Readme

Source

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.

FAQs

Last updated on 12 May 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc