Socket
Book a DemoInstallSign in
Socket

carrot-remover

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

carrot-remover

Removes the carrots from your package json

latest
npmnpm
Version
0.2.3
Version published
Maintainers
1
Created
Source

Carrot Remover

Forces all versions in your package json to be static. Removing ^ and ~'s.

Install:

npm i -g carrot-remover

Usage:

Run this command in your directory to remove all carrots from the package json

remove-carrots

Example:

Before:

{
  "name": "carrot-remover",
  "version": "0.1.0",
  "description": "Removes the carrots from your package json",
  "main": "dist/index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "compile": "babel --presets es2015,stage-0 -d lib/ src/",
    "prepublish": "npm run compile"
  },
  "author": "Kevin Upton",
  "license": "ISC",
  "preferGlobal": true,
  "devDependencies": {
    "babel-cli": "^6.0.0",
    "babel-preset-es2015": "^6.0.0",
    "babel-preset-stage-0": "^6.0.0"
  },
  "dependencies": {
    "node-cmd": "^3.0.0",
    "progress": "^2.0.0",
    "write": "^1.0.0"
  },
  "bin": {
    "remove-carrots": "bin/remove-carrots.js"
  }
}

After:

{
  "name": "carrot-remover",
  "version": "0.1.0",
  "description": "Removes the carrots from your package json",
  "main": "dist/index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "compile": "babel --presets es2015,stage-0 -d lib/ src/",
    "prepublish": "npm run compile"
  },
  "author": "Kevin Upton",
  "license": "ISC",
  "preferGlobal": true,
  "devDependencies": {
    "babel-cli": "6.26.0",
    "babel-preset-es2015": "6.24.1",
    "babel-preset-stage-0": "6.24.1"
  },
  "dependencies": {
    "node-cmd": "3.0.0",
    "progress": "2.0.0",
    "write": "1.0.3"
  },
  "bin": {
    "remove-carrots": "bin/remove-carrots.js"
  }
}

FAQs

Package last updated on 26 Jun 2020

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