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

@antfu/ni

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antfu/ni - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

5

package.json
{
"name": "@antfu/ni",
"version": "0.1.0",
"version": "0.1.1",
"description": "Use the right package manager",

@@ -27,3 +27,3 @@ "main": "dist/index.js",

"scripts": {
"prepublishOnly": "npm run build",
"prepublishOnly": "rimraf dist && npm run build",
"watch": "npm run build -- --watch",

@@ -55,2 +55,3 @@ "ni": "esno src/ni.ts",

"lint-staged": "^10.5.1",
"rimraf": "^3.0.2",
"tsup": "^3.7.1",

@@ -57,0 +58,0 @@ "typescript": "^4.0.5"

17

README.md
# ni
~~`npm i` in a yarn project, again? F**k!~~
~~*`npm i` in a yarn project, again? F\*\*k!*~~
**ni** - use the right package manager.
`ni` => <code><a href='https://docs.npmjs.com/cli/v6/commands/npm'>npm</a> install</code> / <code><a href='https://yarnpkg.com'>yarn</a> add</code> / <code><a href='https://pnpm.js.org/en/'>pnpm</a> install</code>
<pre>

@@ -15,5 +13,9 @@ $ npm i -g <b>@antfu/ni</b>

---
`ni` => <code><a href='https://docs.npmjs.com/cli/v6/commands/npm'>npm</a> install</code> / <code><a href='https://yarnpkg.com'>yarn</a> add</code> / <code><a href='https://pnpm.js.org/en/'>pnpm</a> install</code>
<br>
<br>
### `ni` - Install

@@ -71,2 +73,4 @@

<br>
### Config

@@ -77,6 +81,9 @@

; default agent will be used for global installs and the fallback when no lock found.
; default agent will be used for global installs
; and the fallback when no lock found.
defaultAgent=npm
```
<br>
### How?

@@ -83,0 +90,0 @@

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