├── .env ├── .eslintignore ├── .eslintrc ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── predeploy.yml │ └── publish.yml ├── .gitignore ├── .npmignore ├── .npmrc ├── .prettierignore ├── .prettierrc ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── UPDATESLOG.md ├── __tests__ ├── config.spec.ts ├── invalidconfig.spec.ts ├── load.spec.ts ├── loadconfig.spec.ts ├── log.spec.ts ├── nopreload.spec.ts ├── parse.spec.ts └── preload.spec.ts ├── assign └── index.ts ├── config └── index.ts ├── env.config.json ├── fileExists └── index.ts ├── getFilePath └── index.ts ├── importFile └── index.ts ├── index.ts ├── jest.json ├── load └── index.ts ├── log └── index.ts ├── package.json ├── parse └── index.ts ├── rollup.config.js ├── snackablesLogo.png ├── terser.config.json ├── tests ├── .env ├── .env.base ├── .env.basic ├── .env.example ├── .env.interp ├── .env.override ├── .env.overwrite ├── .env.path ├── .env.preload ├── .env.test ├── .env.utf8 ├── .env.write ├── default.test-d.ts ├── env.config.json ├── named.test-d.ts └── tsconfig.json ├── ts ├── tsconfig.cjs.json ├── tsconfig.esm.json └── tsconfig.types.json ├── tsconfig.json ├── utils ├── compress.ts └── waitFor.ts └── yarn.lock /.env: -------------------------------------------------------------------------------- 1 | ROOT=true -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/predeploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/.github/workflows/predeploy.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/.npmignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | scripts-prepend-node-path=true -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | *.md 2 | *.js 3 | *d.ts 4 | esm 5 | !rollup.config.js -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/.prettierrc -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/README.md -------------------------------------------------------------------------------- /UPDATESLOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/UPDATESLOG.md -------------------------------------------------------------------------------- /__tests__/config.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/__tests__/config.spec.ts -------------------------------------------------------------------------------- /__tests__/invalidconfig.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/__tests__/invalidconfig.spec.ts -------------------------------------------------------------------------------- /__tests__/load.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/__tests__/load.spec.ts -------------------------------------------------------------------------------- /__tests__/loadconfig.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/__tests__/loadconfig.spec.ts -------------------------------------------------------------------------------- /__tests__/log.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/__tests__/log.spec.ts -------------------------------------------------------------------------------- /__tests__/nopreload.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/__tests__/nopreload.spec.ts -------------------------------------------------------------------------------- /__tests__/parse.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/__tests__/parse.spec.ts -------------------------------------------------------------------------------- /__tests__/preload.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/__tests__/preload.spec.ts -------------------------------------------------------------------------------- /assign/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/assign/index.ts -------------------------------------------------------------------------------- /config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/config/index.ts -------------------------------------------------------------------------------- /env.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/env.config.json -------------------------------------------------------------------------------- /fileExists/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/fileExists/index.ts -------------------------------------------------------------------------------- /getFilePath/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/getFilePath/index.ts -------------------------------------------------------------------------------- /importFile/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/importFile/index.ts -------------------------------------------------------------------------------- /index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/index.ts -------------------------------------------------------------------------------- /jest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/jest.json -------------------------------------------------------------------------------- /load/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/load/index.ts -------------------------------------------------------------------------------- /log/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/log/index.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/package.json -------------------------------------------------------------------------------- /parse/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/parse/index.ts -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/rollup.config.js -------------------------------------------------------------------------------- /snackablesLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/snackablesLogo.png -------------------------------------------------------------------------------- /terser.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/terser.config.json -------------------------------------------------------------------------------- /tests/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/tests/.env -------------------------------------------------------------------------------- /tests/.env.base: -------------------------------------------------------------------------------- 1 | BASE=hello -------------------------------------------------------------------------------- /tests/.env.basic: -------------------------------------------------------------------------------- 1 | BASICENV=basic -------------------------------------------------------------------------------- /tests/.env.example: -------------------------------------------------------------------------------- 1 | EXAMPLE=hello -------------------------------------------------------------------------------- /tests/.env.interp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/tests/.env.interp -------------------------------------------------------------------------------- /tests/.env.override: -------------------------------------------------------------------------------- 1 | PERSON=Jane -------------------------------------------------------------------------------- /tests/.env.overwrite: -------------------------------------------------------------------------------- 1 | AUTHOR=Hijack 2 | WRITE=false -------------------------------------------------------------------------------- /tests/.env.path: -------------------------------------------------------------------------------- 1 | SNACKS=true -------------------------------------------------------------------------------- /tests/.env.preload: -------------------------------------------------------------------------------- 1 | PRELOAD=true -------------------------------------------------------------------------------- /tests/.env.test: -------------------------------------------------------------------------------- 1 | TESTING=true -------------------------------------------------------------------------------- /tests/.env.utf8: -------------------------------------------------------------------------------- 1 | UTF8=true -------------------------------------------------------------------------------- /tests/.env.write: -------------------------------------------------------------------------------- 1 | WRITE=true -------------------------------------------------------------------------------- /tests/default.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/tests/default.test-d.ts -------------------------------------------------------------------------------- /tests/env.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/tests/env.config.json -------------------------------------------------------------------------------- /tests/named.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/tests/named.test-d.ts -------------------------------------------------------------------------------- /tests/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/tests/tsconfig.json -------------------------------------------------------------------------------- /ts/tsconfig.cjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/ts/tsconfig.cjs.json -------------------------------------------------------------------------------- /ts/tsconfig.esm.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/ts/tsconfig.esm.json -------------------------------------------------------------------------------- /ts/tsconfig.types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/ts/tsconfig.types.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/tsconfig.json -------------------------------------------------------------------------------- /utils/compress.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/utils/compress.ts -------------------------------------------------------------------------------- /utils/waitFor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/utils/waitFor.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mattcarlotta/snackables/HEAD/yarn.lock --------------------------------------------------------------------------------