New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

encrypthor

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

encrypthor

encrypthor - a CLI tool to help you not to worry about exposing your secrets in your .env files when you commit them to your repository

unpublished
latest
npmnpm
Version
0.0.4
Version published
Maintainers
0
Created
Source

encrypthor - a CLI tool to help you not to worry about exposing your secrets in your .env files when you commit them to your repository

NPM: encrypthor

Installation

You can install Encrypthor using the following command:

npm install -g encrypthor

Encrypting your .env file

To encrypt your .env file, you can use the following command:

encrypthor encrypt -f .env

Decrypting your .env file

To decrypt your .env file, you can use the following command:

encrypthor decrypt -f .env

How to commit safely

Using pre-commit hooks with lint-staged and simple-git-hooks

{
  // ... package.json
  "lint-staged": {
    ".env": ["encrypthor encrypt -f"]
  },
  "simple-git-hooks": {
    "pre-commit": "bunx lint-staged --verbose && echo"
  }
}

Keywords

encrypthor

FAQs

Package last updated on 24 Jul 2024

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