├── .eslintrc ├── .github ├── FUNDING.yaml ├── ISSUE_TEMPLATE │ ├── 2-bug-report.yml │ ├── 3-feature-request.yml │ └── config.yml ├── dependabot.yml └── workflows │ ├── ci.yml │ └── publish.yml ├── .gitignore ├── .npmignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── bun.lock ├── example ├── a.ts ├── b.ts ├── client │ ├── .gitignore │ ├── bun.lockb │ ├── index.html │ ├── package.json │ ├── public │ │ └── vite.svg │ ├── src │ │ ├── fetch.ts │ │ ├── main.ts │ │ ├── style.css │ │ ├── treaty-file.ts │ │ ├── treaty.ts │ │ └── vite-env.d.ts │ └── tsconfig.json ├── fetch.ts ├── grace.webp ├── index.ts ├── regression.ts ├── server.ts └── treaty.ts ├── package.json ├── src ├── errors.ts ├── fetch │ ├── index.ts │ └── types.ts ├── index.ts ├── treaty │ ├── index.ts │ ├── types.ts │ └── utils.ts ├── treaty2 │ ├── index.ts │ ├── types.ts │ └── ws.ts ├── types.ts └── utils │ └── parsingUtils.ts ├── test ├── fetch.test.ts ├── fn.test.ts ├── public │ ├── aris-yuzu.jpg │ ├── kyuukurarin.mp4 │ └── midori.png ├── treaty.test.ts ├── treaty2.test.ts └── types │ └── treaty2.ts ├── tsconfig.json ├── tsconfig.test.json └── tsup.config.ts /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github/FUNDING.yaml: -------------------------------------------------------------------------------- 1 | github: SaltyAom -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/2-bug-report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/.github/ISSUE_TEMPLATE/2-bug-report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/3-feature-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/.github/ISSUE_TEMPLATE/3-feature-request.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | node_modules 4 | .pnpm-debug.log 5 | dist 6 | trace -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/.npmignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/README.md -------------------------------------------------------------------------------- /bun.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/bun.lock -------------------------------------------------------------------------------- /example/a.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/a.ts -------------------------------------------------------------------------------- /example/b.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/b.ts -------------------------------------------------------------------------------- /example/client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/client/.gitignore -------------------------------------------------------------------------------- /example/client/bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/client/bun.lockb -------------------------------------------------------------------------------- /example/client/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/client/index.html -------------------------------------------------------------------------------- /example/client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/client/package.json -------------------------------------------------------------------------------- /example/client/public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/client/public/vite.svg -------------------------------------------------------------------------------- /example/client/src/fetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/client/src/fetch.ts -------------------------------------------------------------------------------- /example/client/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/client/src/main.ts -------------------------------------------------------------------------------- /example/client/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/client/src/style.css -------------------------------------------------------------------------------- /example/client/src/treaty-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/client/src/treaty-file.ts -------------------------------------------------------------------------------- /example/client/src/treaty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/client/src/treaty.ts -------------------------------------------------------------------------------- /example/client/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /example/client/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/client/tsconfig.json -------------------------------------------------------------------------------- /example/fetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/fetch.ts -------------------------------------------------------------------------------- /example/grace.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/grace.webp -------------------------------------------------------------------------------- /example/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/index.ts -------------------------------------------------------------------------------- /example/regression.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/regression.ts -------------------------------------------------------------------------------- /example/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/server.ts -------------------------------------------------------------------------------- /example/treaty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/example/treaty.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/package.json -------------------------------------------------------------------------------- /src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/src/errors.ts -------------------------------------------------------------------------------- /src/fetch/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/src/fetch/index.ts -------------------------------------------------------------------------------- /src/fetch/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/src/fetch/types.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/treaty/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/src/treaty/index.ts -------------------------------------------------------------------------------- /src/treaty/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/src/treaty/types.ts -------------------------------------------------------------------------------- /src/treaty/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/src/treaty/utils.ts -------------------------------------------------------------------------------- /src/treaty2/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/src/treaty2/index.ts -------------------------------------------------------------------------------- /src/treaty2/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/src/treaty2/types.ts -------------------------------------------------------------------------------- /src/treaty2/ws.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/src/treaty2/ws.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils/parsingUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/src/utils/parsingUtils.ts -------------------------------------------------------------------------------- /test/fetch.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/test/fetch.test.ts -------------------------------------------------------------------------------- /test/fn.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/test/fn.test.ts -------------------------------------------------------------------------------- /test/public/aris-yuzu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/test/public/aris-yuzu.jpg -------------------------------------------------------------------------------- /test/public/kyuukurarin.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/test/public/kyuukurarin.mp4 -------------------------------------------------------------------------------- /test/public/midori.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/test/public/midori.png -------------------------------------------------------------------------------- /test/treaty.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/test/treaty.test.ts -------------------------------------------------------------------------------- /test/treaty2.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/test/treaty2.test.ts -------------------------------------------------------------------------------- /test/types/treaty2.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/test/types/treaty2.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/tsconfig.test.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/elysiajs/eden/HEAD/tsup.config.ts --------------------------------------------------------------------------------