Private Variables in NPM Package

So I’m almost ready to release version 1.0.0 (working my way there :D) of my package but I need to know (if it’s even possible) how to make variables that cannot be tampered with by someone using a package. For example, is I have an array with secrets someone can change the array’s contents and if I have .env keys someone can just redefine them because it wouldn’t work. Any ideas?

You are viewing a single comment. View All

@Coder100 ah darn, that sucks. Also because I can >:D, and it’ll have more features than any Repl API package ever xD