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

@kyushun/nix

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kyushun/nix

ni extended

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@kyushun/nix

@kyushun/nix is a tool that detects the npm package manager used in your repository (npm, yarn, pnpm, etc.) and runs the corresponding commands, simplifying your npm experience.

Features

  • Unified Command Structure: Execute operations without switching between command prefixes.
  • Cross-Environment Compatibility: Runs wherever npm is available.
  • Automatic Detection: Adapts to the npm package manager in your repo.

Inspired by @antfu/ni and azu/ni.zsh, this package adopts the core functionality of @antfu/ni but offers a more unified command structure. Unlike @antfu/ni, which uses different prefixes for various commands like install, run, upgrade, and uninstall, our tool maintains a consistent command prefix across all operations. Additionally, while azu/ni.zsh is restricted to the zsh environment, our package can be used wherever npm is available.

Installation

npm i -g @kyushun/nix

Usage

nix                          -- installs dependencies
nix add/install <pkg>        -- adds a package
nix remove/uninstall <pkg>   -- removes a package
nix [run] <script>           -- runs npm scripts
nix upgrade/update [<pkg>]   -- upgrades packages
nix exec <command>           -- executes a command directly
nix dlx <pkg>                -- downloads and executes a package command

FAQs

Package last updated on 05 Sep 2023

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