ReplNodeEnv/README.md

15 lines
584 B
Markdown

# NodeEnv
Using this tool you can store your code in a .env file, which you can deploy to repl.it and have your code be hidden! This currently only works with one file.
## Notes
The code is very simple as this is currently just a "proof of concept".
## Giving this "tool" a try
Run `tool.js` with the input file as the argument. Example: `node tool.js example.js` The tool should spit out a JSON string.
Go to Replit "Secrets", open the raw editor and paste it in.
Now copy the contents from replit.js, create a new file in the Replit, named index.js and paste the contents in.