├── .eslintrc.js ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── examples ├── creating layers │ └── server.js ├── serverVar │ └── server.js └── tested │ ├── async pre and get │ ├── get │ ├── pre │ └── server.js │ ├── async │ ├── server.js │ └── testfile │ ├── asynchronous preprocessing │ ├── server.js │ └── testfile.js │ ├── onetime │ └── server.js │ ├── processors │ ├── param.js │ └── post │ │ ├── post.html │ │ └── server.js │ ├── redirect │ └── server.js │ ├── routers │ └── server.js │ ├── send │ ├── log │ ├── send.js │ └── server.js │ ├── sendfile │ ├── headers │ │ ├── image.png │ │ └── server.js │ ├── sendFile.js │ ├── server.js │ └── testFile.html │ ├── static │ ├── public │ │ ├── index.html │ │ └── indextest │ │ │ └── index.html │ └── server.js │ └── use │ ├── log │ ├── npm-debug.log │ └── server.js ├── package.json ├── stirfry.js ├── test ├── async │ └── async.js ├── request │ └── request.js ├── response │ └── response.js ├── server │ └── server.js └── testFiles │ └── test.html ├── types.json └── utils ├── combinePaths.js ├── formatdate.js ├── logger.js └── parse.js /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .vscode -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .npmignore 2 | node_modules 3 | .vscode -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/README.md -------------------------------------------------------------------------------- /examples/creating layers/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/creating layers/server.js -------------------------------------------------------------------------------- /examples/serverVar/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/serverVar/server.js -------------------------------------------------------------------------------- /examples/tested/async pre and get/get: -------------------------------------------------------------------------------- 1 | IF YOU EAT ME 2 | -------------------------------------------------------------------------------- /examples/tested/async pre and get/pre: -------------------------------------------------------------------------------- 1 | LULZ I'm DUCK 2 | -------------------------------------------------------------------------------- /examples/tested/async pre and get/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/async pre and get/server.js -------------------------------------------------------------------------------- /examples/tested/async/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/async/server.js -------------------------------------------------------------------------------- /examples/tested/async/testfile: -------------------------------------------------------------------------------- 1 | lulz yall 2 | -------------------------------------------------------------------------------- /examples/tested/asynchronous preprocessing/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/asynchronous preprocessing/server.js -------------------------------------------------------------------------------- /examples/tested/asynchronous preprocessing/testfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/asynchronous preprocessing/testfile.js -------------------------------------------------------------------------------- /examples/tested/onetime/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/onetime/server.js -------------------------------------------------------------------------------- /examples/tested/processors/param.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/processors/param.js -------------------------------------------------------------------------------- /examples/tested/processors/post/post.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/processors/post/post.html -------------------------------------------------------------------------------- /examples/tested/processors/post/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/processors/post/server.js -------------------------------------------------------------------------------- /examples/tested/redirect/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/redirect/server.js -------------------------------------------------------------------------------- /examples/tested/routers/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/routers/server.js -------------------------------------------------------------------------------- /examples/tested/send/log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/send/log -------------------------------------------------------------------------------- /examples/tested/send/send.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/send/send.js -------------------------------------------------------------------------------- /examples/tested/send/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/send/server.js -------------------------------------------------------------------------------- /examples/tested/sendfile/headers/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/sendfile/headers/image.png -------------------------------------------------------------------------------- /examples/tested/sendfile/headers/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/sendfile/headers/server.js -------------------------------------------------------------------------------- /examples/tested/sendfile/sendFile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/sendfile/sendFile.js -------------------------------------------------------------------------------- /examples/tested/sendfile/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/sendfile/server.js -------------------------------------------------------------------------------- /examples/tested/sendfile/testFile.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/StirFry-js/stirfry/HEAD/examples/tested/sendfile/testFile.html -------------------------------------------------------------------------------- /examples/tested/static/public/index.html: -------------------------------------------------------------------------------- 1 |