nix-npm-buildpackage VS node2nix

Compare nix-npm-buildpackage vs node2nix and see what are their differences.

nix-npm-buildpackage

Build nix packages that use npm/yarn (by serokell)

node2nix

Generate Nix expressions to build NPM packages (by svanderburg)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nix-npm-buildpackage node2nix
4 4
97 486
- -
3.3 0.0
7 months ago 6 months ago
Nix Nix
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nix-npm-buildpackage

Posts with mentions or reviews of nix-npm-buildpackage. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-25.

node2nix

Posts with mentions or reviews of node2nix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-26.
  • The Magic Nix Cache
    9 projects | news.ycombinator.com | 26 Jun 2023
    You may find something like node2nix helpful (https://github.com/svanderburg/node2nix). This converts your package.json into a Nix expression that can then be cached. You're right that it does require some setup and a bit of Nix knowledge but could yield significant benefits and take a good chunk out of that 20 minutes.

    Another option might be to use pnpm instead of Yarn and cache your pnpm dependencies. pnpm actually works a bit like Nix in that it creates a pnpm-lock.yaml file with content-based hashes for the full package.json dependency tree. This enables it to quickly determine which parts of the dependency tree it needs to build and which are already available.

  • Override `nodePackages' with the `default.nix' from `node2nix' multiple times
    2 projects | /r/NixOS | 6 Jul 2022
    I got it from this github issue in the node2nix repo.
  • how to install Mozilla's readability library?
    3 projects | /r/NixOS | 30 Dec 2021
    As Gerschtli commented, it may be possible to generate a Nix expression for @mozilla/readability using node2nix. Then get its node_modules path like this and set NODE_PATH to the value.
  • How to install dependencies with Nix?
    3 projects | /r/NixOS | 16 Feb 2021
    For node programs, you may be able to find the commands as just packages, or look at https://github.com/svanderburg/node2nix for creating the nix equivalent of a node-modules

What are some alternatives?

When comparing nix-npm-buildpackage and node2nix you can also consider the following projects:

dream2nix - Simplified nix packaging for various programming language ecosystems [maintainer=@DavHau]

nixpkgs - Nix Packages collection & NixOS

nix-darwin - nix modules for darwin

nur-packages - My NUR packages

Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]

readability-cli

at-node-nix - Node.js Nix expressions

math-preview

hasql-interpolate

clj-nix - Nix helpers for Clojure projects

relocatable.nix - A nix bundler that produces relocatable deployment script for nix store paths.