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.3.0 to 0.3.2

2

package.json
{
"version": "0.3.0",
"version": "0.3.2",
"name": "@dotenvx/dotenvx",

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

@@ -89,9 +89,12 @@ ![dotenvx](https://dotenvx.github.io/better-banner.png)

```sh
# run as a command-line tool
docker run -it --rm -v $(pwd):/app dotenv/dotenvx run -- node index.js
$ docker run -it --rm -v $(pwd):/app dotenv/dotenvx run -- node index.js
```
Or in any image:
```sh
# include in a Dockerfile
# example coming soon
FROM node:latest
RUN echo "HELLO=World" > .env && echo "console.log('Hello ' + process.env.HELLO)" > index.js
RUN curl -sfS https://dotenvx.sh/! | bash
CMD ["dotenvx", "run", "--", "echo", "Hello $HELLO"]
```

@@ -259,5 +262,17 @@

3. dotenvx is a standalone binary, so (if you want) you can just download it directly:
3. Or install in your `package.json`
```sh
npm i @dotenvx/dotenvx --save
```
```json
// package.json
"scripts": {
"start": "./node_modules/.bin/dotenvx run -- nodex index.js"
}
```
3. Or download it directly as a standalone binary:
```sh
curl -sfS https://dotenvx.sh/! | sh

@@ -264,0 +279,0 @@ ```

@@ -52,3 +52,3 @@ #!/usr/bin/env node

program.command('run')
.description('Inject env variables into your application process')
.description('inject env variables into your application process')
.option('-f, --env-file <paths...>', 'path to your env file', '.env')

@@ -55,0 +55,0 @@ .option('-o, --overload', 'override existing env variables')

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