{"_id":"@wmartzh/ts-env","_rev":"32-33a2d0868459aad102bd801dd2a0da3e","name":"@wmartzh/ts-env","description":"A simple tool to manage environment variables in TypeScript projects.","dist-tags":{"lastest":"1.0.7","prerelase":"1.0.20-1","prerelease":"1.0.20-8","lts-gallium":"1.1.0","latest":"1.1.1","beta":"1.1.2-5"},"versions":{"1.0.0":{"name":"@wmartzh/ts-env","version":"1.0.0","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"MIT","_id":"@wmartzh/ts-env@1.0.0","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"dist":{"shasum":"3c953dd4e70dc3cdb8c0ccde1eeae80df4bf63fa","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.0.tgz","fileCount":43,"integrity":"sha512-e1m49PRfuEBjry/B/8PYuoOnyCwLuDaaAz+J9t1r1sxa5qUwfuopB2NCIOLa8nGXNAZ4v0ND1wKCnCzh0kiFFA==","signatures":[{"sig":"MEYCIQCsFW4cA9GxZns8wJd9uvu5c+/KVEoEkx4RO5v9rk9ISAIhAIZHXuzPFo1vS6+cNSAOIPI1DeNqIKmf720fxZqaeuSA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43392},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"lib/index.js","types":"./lib/index.d.ts","gitHead":"def90e12bdc5bc0f10d763d1195ae9d76a568247","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+ssh://git@github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.0_1700434905140_0.5117221119247406","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@wmartzh/ts-env","version":"1.0.1","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"MIT","_id":"@wmartzh/ts-env@1.0.1","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"dist":{"shasum":"a2514d43125c4a10f75ce32d33ae692fb5d379be","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.1.tgz","fileCount":15,"integrity":"sha512-++crFHONzU2tJq8pX8e3YWUeDsO4vcdf9/huz5f06nhaWuafdlowoneEixuNNVnZRMVREk1AofrcUT0R6pU/gQ==","signatures":[{"sig":"MEQCID32hQ6QlxNnLl/zA375CAERiblXibCBuXphHntJfcElAiAatQ6EEO/3B3YR5joFvK8FtipIseL769bcU3r5OdbChg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21752},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"lib/index.js","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","gitHead":"ca0ae8684b108fd5f92b1e947166d5f30f225911","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+ssh://git@github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.1_1700435784400_0.2135768197574317","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@wmartzh/ts-env","version":"1.0.2","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"MIT","_id":"@wmartzh/ts-env@1.0.2","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"dist":{"shasum":"1c8b690d807b84be6c7dc46e468d1bc279c7ab27","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.2.tgz","fileCount":44,"integrity":"sha512-bF977R2Zl4nJ0hCb/wlMuecnt7KbEPJHcGx8gVuGV6YIHi5OD1uXQDHcIuQt3YjnIVDgO6CWTKnXsAOYV0aVig==","signatures":[{"sig":"MEUCIQDi3bDAOmydjK0fiKSzryfY6ZBrGh2wRSzcMoYQfAt8ZAIgdm3v7TmgwEfzPKiLgwVSI2nWNpgG5+JbfYWJzweaEBc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43796},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"lib/index.js","types":"./lib/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","gitHead":"9d90f5eda148c20495f72af670019ae93c038c86","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.2_1700437493402_0.4531758595058675","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@wmartzh/ts-env","version":"1.0.3","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.3","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"dist":{"shasum":"05cc20494ee1022f2486b86df1879037125002b3","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.3.tgz","fileCount":54,"integrity":"sha512-AQRqjKyvg/naMtGAxTAqWBJAPjLdeEEqdztPLg7+ydyr8rqVjPC87TWFMIBdGvdrInkj9CQ48S5IdY/PeZd7HQ==","signatures":[{"sig":"MEQCICsXyAqOufjcfIsnwQQrx5lrYW4thVGJbPTE4DqITsnPAiAD4EY5DE17gt7qp3PQMTLSmiYlZKjBhw+0JtKoT5sWRg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":175276},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","gitHead":"9d90f5eda148c20495f72af670019ae93c038c86","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.3_1700437757783_0.481229840361024","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@wmartzh/ts-env","version":"1.0.5","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.5","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"dist":{"shasum":"31f7395db0be92e1abdd1725024a73d049ae0a9e","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.5.tgz","fileCount":35,"integrity":"sha512-9LVHRdVUYC6KQuvc8/ZnB+p8yrReLHgiShs9HEGW3wI3tMp16FQu/IbTf8O1mlD2iSd7pjYPoUR//wkDYtH0LA==","signatures":[{"sig":"MEUCICGJDql8e5zy+XS1alRArwCPYjSLnaYixWtZySH/9nM2AiEA8Zw5FF/u+0Ea4+uo53Lj37peN3+GNZHP2yCFMhlxbus=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":122607},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"gitHead":"9d90f5eda148c20495f72af670019ae93c038c86","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.5_1700444981123_0.5728442342757736","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@wmartzh/ts-env","version":"1.0.6","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.6","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"dist":{"shasum":"624f0e00b9b7fe14ba096e6c4cdb5adfb63e7ce7","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.6.tgz","fileCount":18,"integrity":"sha512-sDmMMEbPzwiC1FDm+vcRJ9z9TQCXLfXmfNAURohLTRa+TqOTsRp1SV4ToxOb+y+mrz+OxJEktLAy7rQ33e79PQ==","signatures":[{"sig":"MEQCIDTntaQlqYEGLH899X5ZujyBC2WaEG7PUaOVsaGq1J5EAiAT06sIVcarT4125SotFoJqQVDT1jxXq1H+9vmwjjF9AQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26773},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"gitHead":"9d90f5eda148c20495f72af670019ae93c038c86","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.6_1700445553991_0.22304855769666454","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@wmartzh/ts-env","version":"1.0.7","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.7","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"dist":{"shasum":"593e02e47079de15df59c49e92be594695faea98","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.7.tgz","fileCount":18,"integrity":"sha512-LmtWCMfXYDsbeid/aVbzmbdX0ukIm2a75maHg5vRcD42GJvL4ZS6LXiZCdCoAPF6nwxgfE+eBO3KZaHBSzXREQ==","signatures":[{"sig":"MEYCIQCG0xknRh8eeBcI7auAbDewoRCVYoBIdsuF353H87vizAIhAPMkQjksowJ79cNbmIUZ0Ek8AtlnXMoMjqPGxbJsgVp7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27051},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./cli/index.js":"./dis/cli/index.js","./package.json":"./package.json","./dist/index.js":"./dist/index.js","./dist/index.d.ts":"./dist/index.d.ts"},"gitHead":"9d90f5eda148c20495f72af670019ae93c038c86","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.7_1700446283652_0.5681870494160755","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@wmartzh/ts-env","version":"1.0.8","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.8","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"dist":{"shasum":"12f619f376084d33c7290302f6ec03624b2ca8c7","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.8.tgz","fileCount":16,"integrity":"sha512-+iklejbsMcwVV6C1TTBUmUF4iEIg09+ms0tNcG0hZFvaNC+Obxw0L+/VQTkc8jrmpjOLu2IodhtfP3yd6ersFg==","signatures":[{"sig":"MEYCIQCPtsMRab9tw/FYRZJtinax9sQLnCiXWxCyLm8NL27mMAIhAJHpIMfEKErOuj/X9s7NrGYvo0Ah9+xb0gvYmpQMvdLS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25454},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"exports":{".":{"import":"./dist/index.js","require":"./dist/index.js"},"./cli/index.js":"./dis/cli/index.js","./package.json":"./package.json","./dist/index.js":"./dist/index.js","./dist/index.d.ts":"./dist/index.d.ts"},"gitHead":"74da253bd855fee240e0b71a571b625bc19c2915","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.8_1700446791967_0.9474443527955139","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@wmartzh/ts-env","version":"1.0.9","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.9","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"index.js"},"dist":{"shasum":"dbfa74c26cd6b426b6fc13861eeb0017c1a10be3","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.9.tgz","fileCount":16,"integrity":"sha512-QtpflzKunSu/eFdBquOfvEd1hT2v+0Hr6ozP7WjuVI8g3KMqLQINgWdo1zoWRzdYU4OL9OHQ/83zc/Bslivoxw==","signatures":[{"sig":"MEQCICJJVyGpIW5vfOrvTkgMLTkHXBxFX/UaOwsbtkuLQuGfAiAxCtIFLpSHULTYqWO17CvhNnuXd6Zd61xt7EJebZd2+Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25214},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"gitHead":"74da253bd855fee240e0b71a571b625bc19c2915","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.9_1700447329908_0.5980133082236667","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"@wmartzh/ts-env","version":"1.0.10","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.10","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"index.js"},"dist":{"shasum":"49897aa1890fba930c6d64222d8b5422fc235432","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.10.tgz","fileCount":16,"integrity":"sha512-nfIs9opSeeOi7FPgVo/xODVzyUYzzXgGpMkLgv+kH2IfHOrVDWqdGHTeULSRZx+uImmgXg49kj1ceAzhpdZwUQ==","signatures":[{"sig":"MEYCIQCoPyp1wdSiqyhxcDUjih8/sZs7nZ3Z+F5YTXyDa8oxFAIhAJhyG+WzscoZDKkZc9fBe2jf1wWyI1f+FtLQ0VEGB119","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25221},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"gitHead":"92018ef137fa864486311d14b26844f7750443ec","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.10_1700447466931_0.11440326666397738","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"@wmartzh/ts-env","version":"1.0.11","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.11","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"index.js"},"dist":{"shasum":"797144776a464115f480d7e7730f8ec6f6d90a92","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.11.tgz","fileCount":16,"integrity":"sha512-25s93DgEs6GNclGXDquEHqt4DPFCWfiXBzkM/+CI/HZlXyA1ZMXnh1OH5lS+AS80fkQUDPDRggUrfqWckqBrnQ==","signatures":[{"sig":"MEQCIA1t/2gjmGyHNap/+F8LKte90KhDHpIW/gE2rkFksyxwAiBluWfcrFUCHE9+OfPTehAzfO6xQ1vaAU8cnA5oUF1cEg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25217},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"gitHead":"32a9d3af99d15c5cf1eace94585c126a0777a3a3","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.11_1700447654871_0.3678639455743733","host":"s3://npm-registry-packages"}},"1.0.12":{"name":"@wmartzh/ts-env","version":"1.0.12","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.12","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"dist/cli"},"dist":{"shasum":"54ec9a2583b5bedc8569e45f008fbd54c2235ac6","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.12.tgz","fileCount":15,"integrity":"sha512-T+mGwjkZQE8Z6GqTK80qYAduZYl3ZGMxxHPaRwUeGOrkAi3yBOcw6P8ZsArPORpa/dRHGneziB4/hyf29oj+Vg==","signatures":[{"sig":"MEYCIQCi0JUiBsFrY+TRhZA+yGK516boDoqsIAkt+IklJ+bj3AIhALQ2hpr6fRpaWM3GztP2Sin3+a5IVAPjymST3nzrtbXa","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25171},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"gitHead":"eb9af3310eeae8943f7cd13ac8bdf2799cc06ee0","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.12_1700447756552_0.08179377386245879","host":"s3://npm-registry-packages"}},"1.0.13":{"name":"@wmartzh/ts-env","version":"1.0.13","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.13","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"config.js"},"dist":{"shasum":"0cb35c207881ad85e7ac6e6dcf7c99620a84a0ed","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.13.tgz","fileCount":16,"integrity":"sha512-wW7PN+6n5wf9+7cLlpW9j6tiZSAAPg5OnisM1eiUdG7NcD0wI6tR76NTU5PVkg3P0ysVKhCGvefPfmAYFIpznQ==","signatures":[{"sig":"MEYCIQDY1lXMpVMHBDWu8S316bpUan72Pju7jbCdRADTYrDIlAIhALkocDpRmRcsbg01NUV/Po1sCDykqPGolGt+6XyOs0BA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25224},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"gitHead":"3747596015378976d2c016f80e42b56ad5875173","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.13_1700448159668_0.24253801653818963","host":"s3://npm-registry-packages"}},"1.0.14":{"name":"@wmartzh/ts-env","version":"1.0.14","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.14","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"config.js"},"dist":{"shasum":"b4d5bba7e37ffba5e7709ac88686f3d2ad5d9a9d","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.14.tgz","fileCount":16,"integrity":"sha512-+gjaA9OCzFg0W7xhRo/q9KAE/YMqtENzi1OjG7DD3Sqwu3upxXmJ8LGD+liAWvsmqDxbrbza+rswNaxmYxeVKA==","signatures":[{"sig":"MEUCIQDFhPAeE99U11T0OSfJ/VpSLdcQh5VO7gxZLQwr3Aq2/gIgMBiGeMchQJrMxWF0X8HvzWRXyjB/NosJsmVN2u2OgyU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25228},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"gitHead":"d59778f96ead9d8b409302000f1eaf27aa27a803","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.14_1700448306939_0.6467885721300772","host":"s3://npm-registry-packages"}},"1.0.15":{"name":"@wmartzh/ts-env","version":"1.0.15","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.15","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"config.js"},"dist":{"shasum":"efd8f8b597ac6e7170a0b447ab0cb7a7f3823761","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.15.tgz","fileCount":16,"integrity":"sha512-hEPG7VEvC6Kfork7Lq6Tsqq8kEuIJosV2FREVO6oigaFGusb0U2lijDyB8AlovfcDne7clj8n6ad/5gExnvsyA==","signatures":[{"sig":"MEQCIHqcWUjfZr9lRNqaK5zsnqGBJO6wPhYF9E9E8mT4bgghAiBEpd0MTeCD1MgG1UJ6Z7ak87rAgJAE3d3kI/RlOkdSUw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25235},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"gitHead":"f0d814ffc3a6de48182ae7d60b175cc35c0d95e4","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.15_1700448450646_0.06566380817550255","host":"s3://npm-registry-packages"}},"1.0.16":{"name":"@wmartzh/ts-env","version":"1.0.16","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.16","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"config.js"},"dist":{"shasum":"6b143a06a63b0e482e56a71775a508952673cf92","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.16.tgz","fileCount":16,"integrity":"sha512-J9HJoJg0C1dyL1+YOf+tLmFlTUhFZwYvFul+47jLWNsp64ngLjIECbbx8kdeDGQP5Cz67/AGt4dz97LCf1UBjg==","signatures":[{"sig":"MEUCIQDwKM3Pq1LLyjLrazIzvrBX/vbQN9x1B84beRdC91SiJwIgI+PbDu2wvyEng0Phjodd+0CPzSH4uxxpM7XoSUW6c/0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25240},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"gitHead":"e1573e5cd907d6557b9508203b0f0fcfb731a38d","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.16_1700448524275_0.7158408110853467","host":"s3://npm-registry-packages"}},"1.0.17":{"name":"@wmartzh/ts-env","version":"1.0.17","author":{"name":"Wilian Martinez","email":"wmartinez@q6cyber.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.17","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"config.js"},"dist":{"shasum":"1ee47518c5b45f52b3cbce9d711491129928551b","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.17.tgz","fileCount":17,"integrity":"sha512-W0xqtSupmoQuQVuAxmK7BgcaQw6FRNX76zb/YUV4a6RfeizaZ5737pfs8fdmXm0jWIOAkahSDxjcMhW8GKRLmw==","signatures":[{"sig":"MEUCIQC88cCjglbI2pdoQ/PCkT6gPkOrQYhdzt22mkfsi7KVNwIgOZfcVipkDohtL31LV6fdptqRpK4+NoiS2a2IkKOYuuI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25308},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"dist/index.js","types":"dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n## Usage\n","engines":{"node":">=16.x"},"gitHead":"d0dc6984fae91789edc3b197d10b2098a17c2a0d","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.1.0","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.9.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.17_1700448993862_0.5251949472590502","host":"s3://npm-registry-packages"}},"1.0.20-0":{"name":"@wmartzh/ts-env","version":"1.0.20-0","author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.20-0","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"dist/index.js"},"dist":{"shasum":"137b6acb26c45730972685ef358541969a7dd900","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.20-0.tgz","fileCount":15,"integrity":"sha512-E4xlSpT1slQDd29BKH9Xknosyb1VotwppVILUeM2pCnCJ52wf6/pveMR/UZgyuxPqD3WWR+EkphL0pa8YHy4Aw==","signatures":[{"sig":"MEYCIQDmmYacyOCUgQjfz3CvLOk1MEp4rTukfNDR8RwN+YLTqgIhAMB/At2p70ugQRKS6+pQfQDgHBEhHb11niCYRoN6c0x0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27127},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./dist/index.js","types":"./dist/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n\n## Usage\nCan be used as a module or pre-load script\n\n### Pre-load script\n\n### Module\nyou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv() // load the config files\n```\n\n### Import Env type\nts-env also provide a type for the config files. You can import it by\n  \n  ```typescript\n  import { ENV } from '@wmartzh/ts-env';\n  ```","engines":{"node":">=16.x"},"gitHead":"0c93df6c1157866f3c46b3fc1cb9d4854a954520","scripts":{"dev":"nodemon --watch ./src --exec \"ts-node ./src/index.ts\"","test":"jest","build":"tsc"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.2.4","description":"A typescript enviroment file management tool","directories":{},"_nodeVersion":"20.11.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","js-yaml":"^4.1.0","ts-node":"^10.9.1","commander":"^11.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.1","prettier":"^3.1.0","@swc/core":"^1.3.96","@swc/jest":"^0.2.29","typescript":"^5.2.2","@types/jest":"^29.5.8","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.20-0_1706396034715_0.7897551206398123","host":"s3://npm-registry-packages"}},"1.0.20-1":{"name":"@wmartzh/ts-env","version":"1.0.20-1","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.20-1","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/index.js"},"dist":{"shasum":"e74bea26dd6dff303a3506ea5b74d8d144d96e35","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.20-1.tgz","fileCount":39,"integrity":"sha512-476InN2XwOUQ3vfiWhFM/TFFhExnJWKtb/bEzj2kxAMU8AzPLMLKjWC1JmoHDDpnNRFIl7Nl88bppHoRdye72w==","signatures":[{"sig":"MEYCIQCdWXfhjR30tLAhwPq1j1Uer7QL4Y7pr/w+yfhUjd+iVAIhAODxRsEhN1A3lgpUXU+cPOCFrV2gaUKOteWXiYaQUlcY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41915},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n\n## Usage\nCan be used as a module or pre-load script\n\n### Pre-load script\n\n### Module\nyou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv() // load the config files\n```\n\n### Import Env type\nts-env also provide a type for the config files. You can import it by\n  \n  ```typescript\n  import { ENV } from '@wmartzh/ts-env';\n  ```","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}}},"gitHead":"2252fc012b10635aed394369479a77f00f58e847","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.2.4","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.11.0","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^11.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.0.3","prettier":"^3.2.4","@swc/core":"^1.3.106","@swc/jest":"^0.2.31","typescript":"^5.3.3","@types/jest":"^29.5.11","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.20-1_1706402568126_0.8806674857194936","host":"s3://npm-registry-packages"}},"1.0.20-2":{"name":"@wmartzh/ts-env","version":"1.0.20-2","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.20-2","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/"},"dist":{"shasum":"6f1448692f5e145a83d34f913081c41a97cc214f","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.20-2.tgz","fileCount":39,"integrity":"sha512-CCxF8XpO7z86fYmHGtWAqDb6yzklIq/b2Kc3En+r037EcUoLUwXClAzM9EJds7SVACydd/KqZ08MEnjIL2nllg==","signatures":[{"sig":"MEUCIQDWhj2Es5LX5jl4XNWz3kHBP5dfnrKAMbEJ46nHZ+OHOgIgMTfKo+I/jG701OdJpyHPKlL5Y53z9oxf0gpEk8OFxg4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42726},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n\n## Usage\nCan be used as a module or pre-load script\n\n### Pre-load script\n\n### Module\nyou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv() // load the config files\n```\n\n### Import Env type\nts-env also provide a type for the config files. You can import it by\n  \n  ```typescript\n  import { ENV } from '@wmartzh/ts-env';\n  ```","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./lib":"./lib","./lib/cjs/cli":"./lib/cjs/cli/index.js","./lib/esm/cli":"./lib/esm/cli/index.mjs"},"gitHead":"3aad89a1f42fa189d8be76410c9c7e6a00565343","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.7.0","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.20-2_1716660640127_0.10208791091150027","host":"s3://npm-registry-packages"}},"1.0.20-3":{"name":"@wmartzh/ts-env","version":"1.0.20-3","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.20-3","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/"},"dist":{"shasum":"80af279d4b704b4e970c75cb5d2938d0d1835b4c","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.20-3.tgz","fileCount":39,"integrity":"sha512-Xy3+zIk6RbWsMyCk/YBWk5plsW7Sa4n2ZwcADN1IceASjMQtvR7NnV+6dEQDwJfist3Z1Jk/sCYNvPapFR2qmA==","signatures":[{"sig":"MEYCIQDSoX/TqnGNIxAVvQF8r0uE1kW4xJT49cUfYHNektkliQIhANz/hx9M+2rGqb0jkJ/TDGY41hsa3GOaujBzXjd1mTdM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42994},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n\n## Usage\nCan be used as a module or pre-load script\n\n### Pre-load script\n\n### Module\nyou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv() // load the config files\n```\n\n### Import Env type\nts-env also provide a type for the config files. You can import it by\n  \n  ```typescript\n  import { ENV } from '@wmartzh/ts-env';\n  ```","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./lib":"./lib","./lib/cjs/cli":"./lib/cjs/cli/index.js","./lib/esm/cli":"./lib/esm/cli/index.mjs"},"gitHead":"ef108aac44a3b9cec340fa4b937a053f9d24ab9b","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.7.0","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.20-3_1716661712402_0.0005146901877199905","host":"s3://npm-registry-packages"}},"1.0.20-4":{"name":"@wmartzh/ts-env","version":"1.0.20-4","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.20-4","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/"},"dist":{"shasum":"1262b33f2a9bc519ab1fa9af410ebd568978c704","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.20-4.tgz","fileCount":39,"integrity":"sha512-HyqqmPr2QQQOZCXc2rXMlkzXF//e0o/4qPASfHLnJLN+LkQZM2SU6R4t+EfcZr6kd9M4Cn+nVthEzy8hVdcNaQ==","signatures":[{"sig":"MEQCIBzpYDqTp+sJ1mxxPKh9uLVrTAGUmnMgZJLaeY1iIuHZAiBXp/sXqIzNNaB0AAQu+S+j6wjD8uw/6rz/bbL6on9S0g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43051},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n\n## Usage\nCan be used as a module or pre-load script\n\n### Pre-load script\n\n### Module\nyou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv() // load the config files\n```\n\n### Import Env type\nts-env also provide a type for the config files. You can import it by\n  \n  ```typescript\n  import { ENV } from '@wmartzh/ts-env';\n  ```","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./lib":"./lib","./lib/cjs/cli":"./lib/cjs/cli/index.js","./lib/esm/cli":"./lib/esm/cli/index.mjs"},"gitHead":"d5f288c71e3334d0ea12c00e6e1b51fb12f066da","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs","pre-relase":"npm run clean && npm run test && npm run build","create-release":"npm version patch","create-pre-release":"npm version prerelease"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.7.0","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.20-4_1716662542602_0.2961384328788068","host":"s3://npm-registry-packages"}},"1.0.20-5":{"name":"@wmartzh/ts-env","version":"1.0.20-5","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.20-5","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/"},"dist":{"shasum":"c0ab6f7d1261a9e828211ba1c51fc347a07bf329","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.20-5.tgz","fileCount":45,"integrity":"sha512-1Cb4QPdwMTqvMvj0998MWUp8Z6clgtQtb4SL6ZZRPAuRVURIs05XLcm09wMaNwiWvAg8vIPIGbEJ9AQlosMxCQ==","signatures":[{"sig":"MEQCIEBMKq0veG42s9AaNPtyl2NKBejAjQKfttFxnjSW4ddWAiBNak/+pifsVGCo/Dm/OXAlMWaLlaIoh+4Ps7/vx0Rqcw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43351},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n\n## Usage\nCan be used as a module or pre-load script\n\n### Pre-load script\n\n### Module\nyou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv() // load the config files\n```\n\n### Import Env type\nts-env also provide a type for the config files. You can import it by\n  \n  ```typescript\n  import { ENV } from '@wmartzh/ts-env';\n  ```","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./cli":"./lib/cjs/main.js"},"gitHead":"4807ebd69db76989849dd90a4a669260c2d95277","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs","pre-relase":"npm run clean && npm run test && npm run build","create-release":"npm version patch","create-pre-release":"npm version prerelease"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.7.0","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.20-5_1716663272335_0.658402184945805","host":"s3://npm-registry-packages"}},"1.0.20-6":{"name":"@wmartzh/ts-env","version":"1.0.20-6","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.20-6","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/"},"dist":{"shasum":"65f5f694900d43a0a51c83d9bcaa04e1a80a8d11","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.20-6.tgz","fileCount":45,"integrity":"sha512-3x8DQQQOU0xoZjB2ROW47rlkS68JYJOHNYYWP+jxFNQs5+KzC1WKlb/M5hJpUGuMvcoAmYux+DzpnmBZvexvsA==","signatures":[{"sig":"MEYCIQCZwGl71hmISsbbI6tQ/rBtWs7h78+xhe61hNgPGP/fvwIhAKGBZV5tgMsEj9NXohufWfntGaUdAEATY3t0JTjekn26","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43277},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n\n## Usage\nCan be used as a module or pre-load script\n\n### Pre-load script\n\n### Module\nyou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv() // load the config files\n```\n\n### Import Env type\nts-env also provide a type for the config files. You can import it by\n  \n  ```typescript\n  import { ENV } from '@wmartzh/ts-env';\n  ```","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./cli":"./lib/cjs/main.js"},"gitHead":"a0e689c1777cd10036a71b780174e35b2d46d945","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs","pre-relase":"npm run clean && npm run test && npm run build","create-release":"npm version patch","create-pre-release":"npm version prerelease"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.7.0","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.20-6_1716663976057_0.37618621688039555","host":"s3://npm-registry-packages"}},"1.0.20-7":{"name":"@wmartzh/ts-env","version":"1.0.20-7","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.20-7","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/main.js"},"dist":{"shasum":"28a9fb3348425bc6956831544946f514a9ec7c2e","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.20-7.tgz","fileCount":45,"integrity":"sha512-jVbHjCgNwY+MLuDef+wW1G18qYMLB7iAnQPrbJ471G4UAdTHLwSZsoqIBJtSWY33LfH/LyJWP21ohQyANLrE3A==","signatures":[{"sig":"MEQCIBsNes4Q/UvLyxeHZSbq8L+u6bs0Eajt+pq5eGHL0gj9AiBhojBcwI5p2cwX62SO77jsO63znnjjAPyZtLvIatFGFA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43391},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n\n## Usage\nCan be used as a module or pre-load script\n\n### Pre-load script\n\n### Module\nyou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv() // load the config files\n```\n\n### Import Env type\nts-env also provide a type for the config files. You can import it by\n  \n  ```typescript\n  import { ENV } from '@wmartzh/ts-env';\n  ```","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./cli":"./lib/cjs/main.js"},"gitHead":"d4ebc0d1e3fabbc1d12a933f357b312ff3745fd0","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs","pre-relase":"npm run clean && npm run test && npm run build","create-release":"npm version patch","create-pre-release":"npm version prerelease"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.7.0","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.20-7_1716664663857_0.6813987417623522","host":"s3://npm-registry-packages"}},"1.0.20-8":{"name":"@wmartzh/ts-env","version":"1.0.20-8","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.0.20-8","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/main.js"},"dist":{"shasum":"1a05424095e8f07e45c2aecbaafb1980d047460f","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.0.20-8.tgz","fileCount":45,"integrity":"sha512-qkYlhpzqzGBeMsGaGmnJ9WyD5eDpSvOs0SCym/QAZuEe65wwhcD9qp58Rnvjvo6aaP94s3aKcSK/oaa/mV7jSw==","signatures":[{"sig":"MEQCICrIBJi+MRXxtprBTGRM1ARQfEyWK1wiQj7wdteILQukAiA/YUWNzg6R/+QNIzDP2eN5gtyYlU8voE6nq99dMB5dvA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43644},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\nA typescript enviroment file management tool\n\n\n## Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n## Install\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n\n## Usage\nCan be used as a module or pre-load script\n\n### Pre-load script\n\n### Module\nyou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv() // load the config files\n```\n\n### Import Env type\nts-env also provide a type for the config files. You can import it by\n  \n  ```typescript\n  import { ENV } from '@wmartzh/ts-env';\n  ```","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./cli":"./lib/cjs/main.js"},"gitHead":"fa1415dc4e70e79ffa2deaaf760ce22f8d4c5ecb","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs","pre-relase":"npm run clean && npm run test && npm run build","create-release":"npm version patch","create-pre-release":"npm version prerelease"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.7.0","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.0.20-8_1716665323471_0.058823136040246915","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@wmartzh/ts-env","version":"1.1.0","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.1.0","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/main.js"},"dist":{"shasum":"12d965e5213d975193fb6937c1c8ae35503c8506","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.1.0.tgz","fileCount":3,"integrity":"sha512-OeJdwQZyxcA/ct7FYehPBeudG18PyWz5h9Og4Gbbg01sLHkJ98d0JTCJPMnCkrNim7BTrkiI4B9lNx+So8mmxw==","signatures":[{"sig":"MEUCIFIouwUiD+Z1+AILlT2+tDj2E1+zCDMZGxRRaSpYM1AdAiEApLv0IEVOTjubVm/jv8Bw3vweiDLzDCUoKIMAbs8vVLo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16075},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\n\n![TS](https://github.com/wmartzh/ts-env/assets/26823527/26ee1543-46fa-43f0-a844-0e27ac1c476a)\n\n[![npm version](https://badge.fury.io/js/%40wmartzh%2Fts-env.svg)](https://badge.fury.io/js/%40wmartzh%2Fts-env)\n\n\nA typescript enviroment file management tool\n\n\n# Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n# Installation\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n# Usage\n\nYou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv({}) // load the config files\n```\n\n## Config Interface\n\nThe `Config` interface defines the structure for configuration options used in our application. Below are the details of each property within this interface.\n\n### Properties\n\n#### `path` (optional)\n\n- **Type:** `string`\n- **Description:** Specifies the file path for the configuration. If not provided, the default path will be used.\n\n#### `encoding` (optional)\n\n- **Type:** `BufferEncoding`\n- **Description:** Defines the character encoding to be used. This must be a valid `BufferEncoding` type (e.g., `'utf8'`, `'ascii'`, `'base64'`, etc.). If not specified, the default encoding is `'utf8'`.\n\n### `type` (optional)\n\n- **Type:** `ConfigType`\n- **Description:** Specifies the type of configuration. This is an enumerated value (`ConfigType`) that should be defined elsewhere in the codebase. It indicates the specific configuration format or category being used.\n\n#### `writeTypes` (optional)\n\n- **Type:** `boolean`\n- **Description:** A flag indicating whether to write type definitions. If set to `true`, type definitions will be included in the output. The default value is `false`.\n- **Default:** `YAML`   valid values are `JSON`, `YAML`, `ENV`\n\n## Example\n\nHere is an example of how the `Config` interface can be used:\n\n```typescript\nconst config: Config = {\n  path: './config.json',\n  encoding: 'utf8',\n  type: ConfigType.JSON,\n  writeTypes: true\n};\n```\n\n\n\n## Roadmap\n\n- [x] Support .env file\n- [x] Support .env.yaml file\n- [x] Support .env.json file\n- [x] Export types \n- [ ] Support multi environment \n- [ ] Check valid format files\n- [ ] Support pre-load script\n","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./cli":"./lib/cjs/main.js"},"gitHead":"a4f7266e77a42a9fca66bfa847dfcffde3f7c9d9","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs","pre-relase":"npm run clean && npm run test && npm run build","create-release":"npm version patch","create-pre-release":"npm version prerelease"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"8.19.4","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"16.20.2","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.1.0_1716667615818_0.7018832529875494","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@wmartzh/ts-env","version":"1.1.1","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.1.1","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/main.js"},"dist":{"shasum":"a12d6174659686fea875ffde44136d966108e4b7","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.1.1.tgz","fileCount":45,"integrity":"sha512-Jiogg2cOEc4Sq7ohl3gd09wI1tTu1JCaB/eCmRRwKmze0E2ySfIuPQdH9UZfuwwhJOD5uLKjC+iUK7+p+W6fBw==","signatures":[{"sig":"MEYCIQC2ysA+wq8PSrwqYZb39fpndLjDmbXl2cpkZx+5sYkJoAIhAIUnpl0jTapKdXh7aGX/krI1iPqooY8x+xbe1BgnXsiz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44512},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./cli":"./lib/cjs/main.js"},"gitHead":"1b09bae81114a006f93e2b3d989f0bfacbf15747","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs","pre-relase":"npm run clean && npm run test && npm run build","create-release":"npm version patch","create-pre-release":"npm version prerelease"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.7.0","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.1.1_1716668236018_0.7347846201998893","host":"s3://npm-registry-packages"}},"1.1.2-0":{"name":"@wmartzh/ts-env","version":"1.1.2-0","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.1.2-0","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/main.js"},"dist":{"shasum":"51c4510ce6936e0d5a3d9514247ba0fe9b4f623c","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.1.2-0.tgz","fileCount":57,"integrity":"sha512-+pgcst6Q8h/9gLAz/IEXcsP5JR2vhpXT62TzstFEXwHWGzwpk0phflyZtVaMxHUSJ+DB6C3k9cybZ3QI/X0Qbg==","signatures":[{"sig":"MEQCIBsw7urJyYogUubfeEY1EAuhD4YkqfF+Nvo8pjkO/y2mAiAI+pnAjMv12CluQEuSyNx7o07yDQjPnhczc7aBt+AA3w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52980},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\n\n![TS](https://github.com/wmartzh/ts-env/assets/26823527/26ee1543-46fa-43f0-a844-0e27ac1c476a)\n\n[![npm version](https://badge.fury.io/js/%40wmartzh%2Fts-env.svg)](https://badge.fury.io/js/%40wmartzh%2Fts-env)\n\n\nA typescript environment file management tool\n\n\n# Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n# Installation\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n# Usage\n\nYou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv({}) // load the config files\n```\n\n## Config Interface\n\nThe `Config` interface defines the structure for configuration options used in our application. Below are the details of each property within this interface.\n\n### Properties\n\n#### `path` (optional)\n\n- **Type:** `string`\n- **Description:** Specifies the file path for the configuration. If not provided, the default path will be used.\n\n#### `encoding` (optional)\n\n- **Type:** `BufferEncoding`\n- **Description:** Defines the character encoding to be used. This must be a valid `BufferEncoding` type (e.g., `'utf8'`, `'ascii'`, `'base64'`, etc.). If not specified, the default encoding is `'utf8'`.\n\n### `type` (optional)\n\n- **Type:** `ConfigType`\n- **Description:** Specifies the type of configuration. This is an enumerated value (`ConfigType`) that should be defined elsewhere in the codebase. It indicates the specific configuration format or category being used.\n\n#### `writeTypes` (optional)\n\n- **Type:** `boolean`\n- **Description:** A flag indicating whether to write type definitions. If set to `true`, type definitions will be included in the output. The default value is `false`.\n- **Default:** `YAML`   valid values are `JSON`, `YAML`, `ENV`\n\n## Example\n\nHere is an example of how the `Config` interface can be used:\n\n```typescript\nconst config: Config = {\n  path: './config.json',\n  encoding: 'utf8',\n  type: ConfigType.JSON,\n  writeTypes: true\n};\n```\n\n\n\n## Roadmap\n\n- [x] Support .env file\n- [x] Support .env.yaml file\n- [x] Support .env.json file\n- [x] Export types\n- [ ] Fix Release pipelines\n- [ ] Support multi-environment \n- [ ] Check valid format files\n- [ ] Support pre-load script\n","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./cli":"./lib/cjs/main.js"},"gitHead":"4d8fc816164092864e63011c673ea73a3c1ec094","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs","pre-relase":"npm run clean && npm run test && npm run build","create-release":"npm version patch","create-pre-release":"npm version prerelease"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.7.0","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.1.2-0_1716921746152_0.44395340512722425","host":"s3://npm-registry-packages"}},"1.1.2-1":{"name":"@wmartzh/ts-env","version":"1.1.2-1","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.1.2-1","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/main.js"},"dist":{"shasum":"8776ae224382efc241757baf2890c107eadaf0d4","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.1.2-1.tgz","fileCount":58,"integrity":"sha512-JpXLFe811pBozVHJqg1tZlwLO28cOwKnjPG/sx/IPXhvagdrCht3tR4gplTodHp2vOZq8DDIGv1bGjEYcJA7QA==","signatures":[{"sig":"MEUCIA0+qQRixzPbjSy/8JgiTBorj7uE3KY0Ehz/8mLkCt9uAiEAgvYk998uBmx6B6BrNlD4c1iBQkRtqHOE5MhS7x/1omM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54354},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\n\n![TS](https://github.com/wmartzh/ts-env/assets/26823527/26ee1543-46fa-43f0-a844-0e27ac1c476a)\n\n[![npm version](https://badge.fury.io/js/%40wmartzh%2Fts-env.svg)](https://badge.fury.io/js/%40wmartzh%2Fts-env)\n\n\nA typescript environment file management tool\n\n\n# Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n# Installation\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n# Usage\n\nYou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv({}) // load the config files\n```\n\n## Config Interface\n\nThe `Config` interface defines the structure for configuration options used in our application. Below are the details of each property within this interface.\n\n### Properties\n\n#### `path` (optional)\n\n- **Type:** `string`\n- **Description:** Specifies the file path for the configuration. If not provided, the default path will be used.\n\n#### `encoding` (optional)\n\n- **Type:** `BufferEncoding`\n- **Description:** Defines the character encoding to be used. This must be a valid `BufferEncoding` type (e.g., `'utf8'`, `'ascii'`, `'base64'`, etc.). If not specified, the default encoding is `'utf8'`.\n\n### `type` (optional)\n\n- **Type:** `ConfigType`\n- **Description:** Specifies the type of configuration. This is an enumerated value (`ConfigType`) that should be defined elsewhere in the codebase. It indicates the specific configuration format or category being used.\n\n#### `writeTypes` (optional)\n\n- **Type:** `boolean`\n- **Description:** A flag indicating whether to write type definitions. If set to `true`, type definitions will be included in the output. The default value is `false`.\n- **Default:** `YAML`   valid values are `JSON`, `YAML`, `ENV`\n\n## Example\n\nHere is an example of how the `Config` interface can be used:\n\n```typescript\nconst config: Config = {\n  path: './config.json',\n  encoding: 'utf8',\n  type: ConfigType.JSON,\n  writeTypes: true\n};\n```\n\n\n\n## Roadmap\n\n- [x] Support .env file\n- [x] Support .env.yaml file\n- [x] Support .env.json file\n- [x] Export types\n- [ ] Fix Release pipelines\n- [ ] Support multi-environment \n- [ ] Check valid format files\n- [ ] Support pre-load script\n","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./cli":"./lib/cjs/main.js","./env":"./lib/cjs/types/env.d.ts"},"gitHead":"2bde4bfc00b55cf34d095748e94b7285849d1836","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs","pre-relase":"npm run clean && npm run test && npm run build","create-release":"npm version patch","create-pre-release":"npm version prerelease"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.7.0","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.1.2-1_1717181055826_0.8540414683289916","host":"s3://npm-registry-packages"}},"1.1.2-3":{"name":"@wmartzh/ts-env","version":"1.1.2-3","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.1.2-3","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/main.js"},"dist":{"shasum":"0b3927ed81f255c8b460c050cbc4953c6973a3e3","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.1.2-3.tgz","fileCount":51,"integrity":"sha512-ZTHI/rQhwSv1tSS5QKcGbhzHcZju0N6OkzFs8FPW+8Ct3NsNIA9bb1MUojXzG8w1uxNC9HsJz9gxAtlSbVXecQ==","signatures":[{"sig":"MEYCIQD1rhcDNdo+7ZbdDqQXLJptloM9OSZ/tqkVmIdlCUmPLAIhAOKF8OYs1RRtQUWTXI3GjQjfxzbVV0zHxYlAYqrTK+i0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51634},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\n\n![TS](https://github.com/wmartzh/ts-env/assets/26823527/26ee1543-46fa-43f0-a844-0e27ac1c476a)\n\n[![npm version](https://badge.fury.io/js/%40wmartzh%2Fts-env.svg)](https://badge.fury.io/js/%40wmartzh%2Fts-env)\n\n\nA typescript environment file management tool\n\n\n# Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n# Installation\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n# Usage\n\nYou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv({}) // load the config files\n```\n\n## Config Interface\n\nThe `Config` interface defines the structure for configuration options used in our application. Below are the details of each property within this interface.\n\n### Properties\n\n#### `path` (optional)\n\n- **Type:** `string`\n- **Description:** Specifies the file path for the configuration. If not provided, the default path will be used.\n\n#### `encoding` (optional)\n\n- **Type:** `BufferEncoding`\n- **Description:** Defines the character encoding to be used. This must be a valid `BufferEncoding` type (e.g., `'utf8'`, `'ascii'`, `'base64'`, etc.). If not specified, the default encoding is `'utf8'`.\n\n### `type` (optional)\n\n- **Type:** `ConfigType`\n- **Description:** Specifies the type of configuration. This is an enumerated value (`ConfigType`) that should be defined elsewhere in the codebase. It indicates the specific configuration format or category being used.\n\n#### `writeTypes` (optional)\n\n- **Type:** `boolean`\n- **Description:** A flag indicating whether to write type definitions. If set to `true`, type definitions will be included in the output. The default value is `false`.\n- **Default:** `YAML`   valid values are `JSON`, `YAML`, `ENV`\n\n## Example\n\nHere is an example of how the `Config` interface can be used:\n\n```typescript\nconst config: Config = {\n  path: './config.json',\n  encoding: 'utf8',\n  type: ConfigType.JSON,\n  writeTypes: true\n};\n```\n\n\n\n## Roadmap\n\n- [x] Support .env file\n- [x] Support .env.yaml file\n- [x] Support .env.json file\n- [x] Export types\n- [ ] Fix Release pipelines\n- [ ] Support multi-environment \n- [ ] Check valid format files\n- [ ] Support pre-load script\n","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./cli":"./lib/cjs/main.js","./env":"./lib/cjs/types/env.d.ts"},"gitHead":"e9a15a0954af0d346c007ae0f08db15228542034","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs","pre-relase":"npm run clean && npm run test && npm run build","create-release":"npm version patch","create-pre-release":"npm version prerelease"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.7.0","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.1.2-3_1717182242343_0.916155878989936","host":"s3://npm-registry-packages"}},"1.1.2-4":{"name":"@wmartzh/ts-env","version":"1.1.2-4","keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","_id":"@wmartzh/ts-env@1.1.2-4","maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"bin":{"ts-env":"lib/cjs/main.js"},"dist":{"shasum":"1da4e0cdfcf3486652f73d6b8a018bac6cfa0ae5","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.1.2-4.tgz","fileCount":51,"integrity":"sha512-rmx0Udh2cVQVIQ9w7JnK14iDlVUlUsyGuUdrgzWx4OljaCDKAhPeeW476qzOl4MEqblNYcBUDaA7YHWsV77tWA==","signatures":[{"sig":"MEUCIQC6SO9JHEAQxS4k27MegIh1gsJ8SCJWTp6co/y38rekTwIgbDlD5rtxmSQHzzfmgVJGn7VODOnWerNPAgYvCMr7gzA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":52181},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"testEnvironment":"node","coverageDirectory":"../coverage","coveragePathIgnorePatterns":["<rootDir>/cli"]},"main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","readme":"# ts-env\n\n![TS](https://github.com/wmartzh/ts-env/assets/26823527/26ee1543-46fa-43f0-a844-0e27ac1c476a)\n\n[![npm version](https://badge.fury.io/js/%40wmartzh%2Fts-env.svg)](https://badge.fury.io/js/%40wmartzh%2Fts-env)\n\n\nA typescript environment file management tool\n\n\n# Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n# Installation\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n# Usage\n\nYou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv({}) // load the config files\n```\n\n## Config Interface\n\nThe `Config` interface defines the structure for configuration options used in our application. Below are the details of each property within this interface.\n\n### Properties\n\n#### `path` (optional)\n\n- **Type:** `string`\n- **Description:** Specifies the file path for the configuration. If not provided, the default path will be used.\n\n#### `encoding` (optional)\n\n- **Type:** `BufferEncoding`\n- **Description:** Defines the character encoding to be used. This must be a valid `BufferEncoding` type (e.g., `'utf8'`, `'ascii'`, `'base64'`, etc.). If not specified, the default encoding is `'utf8'`.\n\n### `type` (optional)\n\n- **Type:** `ConfigType`\n- **Description:** Specifies the type of configuration. This is an enumerated value (`ConfigType`) that should be defined elsewhere in the codebase. It indicates the specific configuration format or category being used.\n\n#### `writeTypes` (optional)\n\n- **Type:** `boolean`\n- **Description:** A flag indicating whether to write type definitions. If set to `true`, type definitions will be included in the output. The default value is `false`.\n- **Default:** `YAML`   valid values are `JSON`, `YAML`, `ENV`\n\n## Example\n\nHere is an example of how the `Config` interface can be used:\n\n```typescript\nconst config: Config = {\n  path: './config.json',\n  encoding: 'utf8',\n  type: ConfigType.JSON,\n  writeTypes: true\n};\n```\n\n\n\n## Roadmap\n\n- [x] Support .env file\n- [x] Support .env.yaml file\n- [x] Support .env.json file\n- [x] Export types\n- [ ] Fix Release pipelines\n- [ ] Support multi-environment \n- [ ] Check valid format files\n- [ ] Support pre-load script\n","engines":{"node":">=16.x"},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./cli":"./lib/cjs/main.js","./env":"./lib/cjs/types/env.d.ts"},"gitHead":"acc776845f599f54e813c26ad0fa35148f59e0cc","release":{"branches":["main"]},"scripts":{"test":"jest","build":"npm run build:esm && npm run build:cjs","clean":"del-cli ./lib","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs","pre-release":"npm run test && npm run build","create-release":"npm version patch","create-pre-release":"npm version prerelease"},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"_npmVersion":"10.7.0","description":"A simple tool to manage environment variables in TypeScript projects.","directories":{},"_nodeVersion":"20.13.1","dependencies":{"toml":"^3.0.0","tslint":"^6.1.3","del-cli":"^5.1.0","js-yaml":"^4.1.0","ts-node":"^10.9.2","commander":"^12.1.0","move-file-cli":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","@swc/core":"^1.5.7","@swc/jest":"^0.2.36","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/ts-env_1.1.2-4_1717189875127_0.16877330571228533","host":"s3://npm-registry-packages"}},"1.1.2-5":{"name":"@wmartzh/ts-env","version":"1.1.2-5","description":"A simple tool to manage environment variables in TypeScript projects.","main":"./lib/cjs/index.js","types":"./lib/cjs/types/index.d.ts","repository":{"type":"git","url":"git+https://github.com/wmartzh/ts-env.git"},"release":{"branches":["main"]},"exports":{".":{"import":{"types":"./lib/esm/types/index.d.ts","default":"./lib/esm/index.mjs"},"require":{"types":"./lib/cjs/types/index.d.ts","default":"./lib/cjs/index.js"}},"./cli":"./lib/cjs/main.js","./env":"./lib/cjs/types/env.d.ts"},"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"license":"Apache-2.0","scripts":{"clean":"del-cli ./lib","create-pre-release":"npm version prerelease","create-release":"npm version patch","pre-release":"npm run test && npm run build","build":"npm run build:esm && npm run build:cjs","build:esm":"tsc -p ./configs/tsconfig.esm.json && move-file lib/esm/index.js lib/esm/index.mjs","build:cjs":"tsc -p ./configs/tsconfig.cjs.json","test":"jest"},"dependencies":{"commander":"^12.1.0","del-cli":"^5.1.0","js-yaml":"^4.1.0","move-file-cli":"^3.0.0","toml":"^3.0.0","ts-node":"^10.9.2","tslint":"^6.1.3"},"devDependencies":{"@swc/core":"^1.5.7","@swc/jest":"^0.2.36","@types/jest":"^29.5.12","@types/js-yaml":"^4.0.9","jest":"^29.7.0","nodemon":"^3.1.1","prettier":"^3.2.5","typescript":"^5.4.5"},"jest":{"rootDir":"src","testRegex":".spec.ts$","transform":{"^.+\\.(t|j)s$":"@swc/jest"},"coverageDirectory":"../coverage","testEnvironment":"node","coveragePathIgnorePatterns":["<rootDir>/cli"]},"bin":{"ts-env":"lib/cjs/main.js"},"engines":{"node":">=16.x"},"keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"_id":"@wmartzh/ts-env@1.1.2-5","readme":"# ts-env\n\n![TS](https://github.com/wmartzh/ts-env/assets/26823527/26ee1543-46fa-43f0-a844-0e27ac1c476a)\n\n[![npm version](https://badge.fury.io/js/%40wmartzh%2Fts-env.svg)](https://badge.fury.io/js/%40wmartzh%2Fts-env)\n\n\nA typescript environment file management tool\n\n\n# Motivation \nThe availability of node can run on different enviroments allow us to use the same codebase for different platforms. However, the different enviroments may have different config files formats. There are some tools like dotenv, dotenv-yaml, to help us load the config files. However, they are not flexible enough to support different config files formats.\n\n# Installation\n\n```bash\n#NPM\nnpm install @wmartzh/ts-env\n\n#Yarn\nyarn add @wmartzh/ts-env\n\n```\n\n# Usage\n\nYou can use ts-env as a module to load the config files. The config files will be loaded when you import the module.\n```typescript\nimport { tsEnv } from '@wmartzh/ts-env';\n\ntsEnv({}) // load the config files\n```\n\n## Config Interface\n\nThe `Config` interface defines the structure for configuration options used in our application. Below are the details of each property within this interface.\n\n### Properties\n\n#### `path` (optional)\n\n- **Type:** `string`\n- **Description:** Specifies the file path for the configuration. If not provided, the default path will be used.\n\n#### `encoding` (optional)\n\n- **Type:** `BufferEncoding`\n- **Description:** Defines the character encoding to be used. This must be a valid `BufferEncoding` type (e.g., `'utf8'`, `'ascii'`, `'base64'`, etc.). If not specified, the default encoding is `'utf8'`.\n\n### `type` (optional)\n\n- **Type:** `ConfigType`\n- **Description:** Specifies the type of configuration. This is an enumerated value (`ConfigType`) that should be defined elsewhere in the codebase. It indicates the specific configuration format or category being used.\n\n#### `writeTypes` (optional)\n\n- **Type:** `boolean`\n- **Description:** A flag indicating whether to write type definitions. If set to `true`, type definitions will be included in the output. The default value is `false`.\n- **Default:** `YAML`   valid values are `JSON`, `YAML`, `ENV`\n\n## Example\n\nHere is an example of how the `Config` interface can be used:\n\n```typescript\nconst config: Config = {\n  path: './config.json',\n  encoding: 'utf8',\n  type: ConfigType.JSON,\n  writeTypes: true\n};\n```\n\n\n\n## Roadmap\n\n- [x] Support .env file\n- [x] Support .env.yaml file\n- [x] Support .env.json file\n- [x] Export types\n- [ ] Fix Release pipelines\n- [ ] Support multi-environment \n- [ ] Check valid format files\n- [ ] Support pre-load script\n","readmeFilename":"README.md","gitHead":"d53768d122ed2c4099e75d680642649929b3aa4f","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"homepage":"https://github.com/wmartzh/ts-env#readme","_nodeVersion":"20.13.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-q3loz3PaVrObNmd0slcBE4bM9miCFEublvtK6IQe1fBbxQSLFh89jvejybcgfrkxObf/E2pCWssjfEmcH2/a1A==","shasum":"032530a6e5990038050224ae1917cee58e7d53d6","tarball":"https://registry.npmjs.org/@wmartzh/ts-env/-/ts-env-1.1.2-5.tgz","fileCount":57,"unpackedSize":53291,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDc6cfQoRBsMMzC9dKuEIJsT7mjDgt4/5ofAy4nz22gIwIhAISpfaysa38sac9KNU1FrRdEIUMpQWJFtOPwKDQbktyJ"}]},"_npmUser":{"name":"wmartzh","email":"wmartzh@gmail.com"},"directories":{},"maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-env_1.1.2-5_1717192151137_0.5922868312406551"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-19T23:01:45.057Z","modified":"2024-05-31T21:49:11.609Z","1.0.0":"2023-11-19T23:01:45.336Z","1.0.1":"2023-11-19T23:16:24.614Z","1.0.2":"2023-11-19T23:44:53.632Z","1.0.3":"2023-11-19T23:49:17.957Z","1.0.5":"2023-11-20T01:49:41.291Z","1.0.6":"2023-11-20T01:59:14.194Z","1.0.7":"2023-11-20T02:11:23.844Z","1.0.8":"2023-11-20T02:19:52.188Z","1.0.9":"2023-11-20T02:28:50.117Z","1.0.10":"2023-11-20T02:31:07.141Z","1.0.11":"2023-11-20T02:34:15.024Z","1.0.12":"2023-11-20T02:35:56.806Z","1.0.13":"2023-11-20T02:42:39.850Z","1.0.14":"2023-11-20T02:45:07.166Z","1.0.15":"2023-11-20T02:47:30.834Z","1.0.16":"2023-11-20T02:48:44.464Z","1.0.17":"2023-11-20T02:56:34.023Z","1.0.20-0":"2024-01-27T22:53:54.966Z","1.0.20-1":"2024-01-28T00:42:48.263Z","1.0.20-2":"2024-05-25T18:10:40.299Z","1.0.20-3":"2024-05-25T18:28:32.592Z","1.0.20-4":"2024-05-25T18:42:22.779Z","1.0.20-5":"2024-05-25T18:54:32.527Z","1.0.20-6":"2024-05-25T19:06:16.224Z","1.0.20-7":"2024-05-25T19:17:44.066Z","1.0.20-8":"2024-05-25T19:28:43.632Z","1.1.0":"2024-05-25T20:06:55.948Z","1.1.1":"2024-05-25T20:17:16.164Z","1.1.2-0":"2024-05-28T18:42:26.324Z","1.1.2-1":"2024-05-31T18:44:15.999Z","1.1.2-3":"2024-05-31T19:04:02.517Z","1.1.2-4":"2024-05-31T21:11:15.271Z","1.1.2-5":"2024-05-31T21:49:11.389Z"},"maintainers":[{"name":"wmartzh","email":"wmartzh@gmail.com"}],"author":{"name":"Wilian Martinez","email":"wmartzh@gmail.com"},"repository":{"url":"git+https://github.com/wmartzh/ts-env.git","type":"git"},"keywords":["typescript","environment","dotenv","env","yaml","json","toml"],"license":"Apache-2.0","homepage":"https://github.com/wmartzh/ts-env#readme","bugs":{"url":"https://github.com/wmartzh/ts-env/issues"},"readme":"","readmeFilename":""}