Installations
npm install @tinyhttp/res
Releases
@tinyhttp/app@2.4.0
Published on 11 Sept 2024
@tinyhttp/app@2.3.1
Published on 30 Jul 2024
@tinyhttp/app@2.3.0
Published on 22 Jul 2024
@tinyhttp/proxy-addr@2.2.0
Published on 22 Jul 2024
@tinyhttp/send@2.2.2
Published on 26 Jun 2024
@tinyhttp/app@2.2.1
Published on 28 Oct 2023
Developer
Developer Guide
Module System
ESM
Min. Node Version
>=12.20.0
Typescript Support
Yes
Node Version
22.3.0
NPM Version
10.8.1
Statistics
2,745 Stars
1,743 Commits
126 Forks
22 Watching
2 Branches
60 Contributors
Updated on 28 Nov 2024
Languages
TypeScript (99.84%)
JavaScript (0.1%)
Shell (0.06%)
Total Downloads
Cumulative downloads
Total Downloads
8,481,668
Last day
-4.3%
21,906
Compared to previous day
Last week
2.4%
118,316
Compared to previous week
Last month
6.9%
485,261
Compared to previous month
Last year
660.4%
4,626,974
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
tinyhttp is a modern Express-like web framework written in TypeScript and compiled to native ESM, that uses a bare minimum amount of dependencies trying to avoid legacy hell.
Features
- âš¡ 58% faster than Express
- âš™ Express middleware compat
- ↪ Async middleware support
- ☑ ESM-only
- 🚀 No legacy dependencies, just the JavaScript itself
- 🔨 Types out of the box
- 🔥 Prebuilt middleware for modern Node.js
Visit tinyhttp website for docs, guides and middleware search.
Install
Node.js 14.21.3+ is required.
1pnpm i @tinyhttp/app
Donate
You can donate with fiat or crypto here.
Sponsors
Deta | molefrog |
Contributing
There are many ways to contribute:
- Submit bugs or feature requests
- Adding a new feature or addressing bugs yourself
- Review documentation and fix typos or add new content
For ways to contribute, please see the documentation.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
23 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
1 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
Reason
SAST tool is not run on all commits -- score normalized to 4
Details
- Warn: 5 commits out of 11 are checked with a SAST tool
Reason
Found 6/30 approved changesets -- score normalized to 2
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:21
- Warn: no topLevel permission defined: .github/workflows/main.yml:1
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/tinyhttp/tinyhttp/main.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/tinyhttp/tinyhttp/main.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/tinyhttp/tinyhttp/main.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/tinyhttp/tinyhttp/main.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/tinyhttp/tinyhttp/main.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/tinyhttp/tinyhttp/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/tinyhttp/tinyhttp/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/tinyhttp/tinyhttp/release.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/tinyhttp/tinyhttp/release.yml/master?enable=pin
- Info: 0 out of 6 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 3 third-party GitHubAction dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Score
5.2
/10
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More