Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm2nix

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm2nix

Generate nix expressions to build npm packages

  • 5.12.1-beta.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-75%
Maintainers
3
Weekly downloads
 
Created
Source

npm2nix

Generate nix expressions from npmjs.org!

Usage

npm2nix [--no-dev] node-packages.json node-packages.generated.nix

no-dev ignores development dependencies

JSON structure

npm2nix expects the passed JSON file to be a list of strings and at most one object. Strings are taken as the name of the package. The object must be a valid dependencies object for an for an npm packages.json file. Alternatively, the passed JSON file can be an npm package.json, in which case the expressions for its dependencies will be generated.

Development

  • nix-shell
  • grunt watch

Release

  • export GITHUB_USERNAME=<your_github_username>
  • export GITHUB_PASSWORD=<your_github_password>
  • grunt release:patch/minor/major

FAQs

Package last updated on 24 Nov 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc