node2nix

Generate Nix expressions to build NPM packages (by svanderburg)

Node2nix Alternatives

Similar projects and alternatives to node2nix

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better node2nix alternative or higher similarity.

node2nix reviews and mentions

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
  • A note from our sponsor - WorkOS
    workos.com | 28 Mar 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic node2nix repo stats
4
480
0.0
5 months ago

svanderburg/node2nix is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of node2nix is Nix.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com