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

@dotenvx/dotenvx

Package Overview
Dependencies
Maintainers
2
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dotenvx/dotenvx - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

2

package.json
{
"version": "0.6.0",
"version": "0.6.1",
"name": "@dotenvx/dotenvx",

@@ -4,0 +4,0 @@ "description": "a better dotenv–from the creator of `dotenv`",

@@ -305,4 +305,6 @@ ![dotenvx](https://dotenvx.com/better-banner.png)

1. After `brew`, installing globally using [`npm`](https://www.npmjs.com/package/@dotenvx/dotenvx) is easiest:
#### 1. global npm
After `brew`, installing globally using [`npm`](https://www.npmjs.com/package/@dotenvx/dotenvx) is easiest:
```sh

@@ -312,10 +314,6 @@ npm install @dotenvx/dotenvx --global

2. Or use with [`npx`](https://www.npmjs.com/package/npx):
#### 2. local npm
```sh
npx @dotenvx/dotenvx help
```
Or install in your `package.json`:
3. Or install in your `package.json`
```sh

@@ -325,28 +323,21 @@ npm i @dotenvx/dotenvx --save

```json
"scripts": {
"start": "./node_modules/.bin/dotenvx run -- nodex index.js"
{
"scripts": {
"start": "./node_modules/.bin/dotenvx run -- node index.js"
},
"dependencies": {
"@dotenvx/dotenvx": "^0.6.0"
}
}
```
3. Or download it directly as a standalone binary:
#### 3. standalone binary
```sh
curl -fsS https://dotenvx.sh/ | sh
```
Or download it directly as a standalone binary:
```sh
# download it to `./dotenvx`
# download it to `/user/local/bin/dotenvx`
curl -fsS https://dotenvx.sh/ | sh
# check it works
./dotenvx help
# move it to `/usr/local/bin/dotenvx`
sudo install -m 755 dotenvx /usr/local/bin
# check it still works
/usr/local/bin/dotenvx help
# check it is in your path
which dotenv
dotenvx help

@@ -353,0 +344,0 @@ ```

@@ -10,10 +10,6 @@ const winston = require('winston')

function pad (word) {
return word.padEnd(9, ' ')
}
const dotenvxFormat = printf(({ level, message, label, timestamp }) => {
const formattedMessage = typeof message === 'object' ? JSON.stringify(message) : message
return `[dotenvx@${packageJson.version}]${pad(`[${level.toUpperCase()}]`)} ${formattedMessage}`
return `[dotenvx@${packageJson.version}][${level.toUpperCase()}] ${formattedMessage}`
})

@@ -20,0 +16,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