Catalog npm
Back to packageRELEASE DETAILS

0.3.8

npm

5htp

Convenient TypeScript framework designed for Performance and Productivity.

framework
Published10 Jun 2024
Direct dependencies65
Transitive dependenciesNot calculated

README

Current package documentation

5HTP Framework

Full Stack Typescript framework designed for developers and users experience.

Purposes and values

  • Build more with less code with syntax sugars and an architecture designed to provide a good code-writing experience.
  • Put everything in symbiose so frontend, backend and all services works together in a smart way.
  • Write high quality & reliable apps thanks to strong types checking, suggestions and built-in debugging toolset.
  • Performance minded because a fast and responsive app reduces server resources consumption and contributes to your users satisfaction.

Features

  • Fully written in Typescript
  • Services management system
  • Preact with built-in SSR support
  • Highly convenient MySQL client
  • Universal schema / forms validator
  • Ful stack router
  • Cache system
  • And more

Get Started

Requires Node.js 18.20+ or any compatible 20.x release.

  1. Install:

npm i -g 5htp

  1. Create a project:

5htp init

  1. Launch dev server:

5htp dev

Dev compilation output is written to bin-dev.

  1. Build output files with the development config:

5htp build

5htp build dev

  1. Build for production:

5htp build prod

Build output is written to bin.

To be done:

  • Update templates & documentation
  • HMR
  • Debugging / Monitoring UI
    • All services and status: installed / paused / running
    • Router:
      • list of registered files
      • list of pages / api / error routes / layouts
      • latest requests + performance
    • Logs: recent logs terminal
    • Database: recent queries + performance
    • Page rendering: performance
    • Socket: who is connected
  • Add testing tools
  • Possibility to generate static pages
  • Improve ORM: make definition based on code instead of database structure
  • Automatically generates types that associate api routes urls to their return types
  • Allow to create CLI apps
  • Fix Typescript errors

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 71

Native requirements
65 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
dayjs
Environment
{
  "local_name": "dayjs",
  "alias": false,
  "peer_metadata": null
}
^1.11.5runtime
json5
Environment
{
  "local_name": "json5",
  "alias": false,
  "peer_metadata": null
}
^2.2.0runtime
prompts
Environment
{
  "local_name": "prompts",
  "alias": false,
  "peer_metadata": null
}
^2.4.2runtime
ts-node
Environment
{
  "local_name": "ts-node",
  "alias": false,
  "peer_metadata": null
}
^10.9.1runtime
webfont
Environment
{
  "local_name": "webfont",
  "alias": false,
  "peer_metadata": null
}
^11.2.26runtime
favicons
Environment
{
  "local_name": "favicons",
  "alias": false,
  "peer_metadata": null
}
^6.2.2runtime
filesize
Environment
{
  "local_name": "filesize",
  "alias": false,
  "peer_metadata": null
}
^8.0.3runtime
imagemin
Environment
{
  "local_name": "imagemin",
  "alias": false,
  "peer_metadata": null
}
^8.0.1runtime
node-cmd
Environment
{
  "local_name": "node-cmd",
  "alias": false,
  "peer_metadata": null
}
^5.0.0runtime
ts-alias
Environment
{
  "local_name": "ts-alias",
  "alias": false,
  "peer_metadata": null
}
^0.0.7runtime
@types/pg
Environment
{
  "local_name": "@types/pg",
  "alias": false,
  "peer_metadata": null
}
^8.6.1runtime
@types/ws
Environment
{
  "local_name": "@types/ws",
  "alias": false,
  "peer_metadata": null
}
^7.4.7runtime
minimatch
Environment
{
  "local_name": "minimatch",
  "alias": false,
  "peer_metadata": null
}
^3.0.4runtime
@babel/cli
Environment
{
  "local_name": "@babel/cli",
  "alias": false,
  "peer_metadata": null
}
^7.15.4runtime
css-loader
Environment
{
  "local_name": "css-loader",
  "alias": false,
  "peer_metadata": null
}
^6.2.0runtime
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^16.9.1runtime
less-loader
Environment
{
  "local_name": "less-loader",
  "alias": false,
  "peer_metadata": null
}
^10.0.1runtime
null-loader
Environment
{
  "local_name": "null-loader",
  "alias": false,
  "peer_metadata": null
}
^4.0.1runtime
@squoosh/lib
Environment
{
  "local_name": "@squoosh/lib",
  "alias": false,
  "peer_metadata": null
}
^0.4.0runtime
babel-loader
Environment
{
  "local_name": "babel-loader",
  "alias": false,
  "peer_metadata": null
}
^8.2.2runtime
browser-sync
Environment
{
  "local_name": "browser-sync",
  "alias": false,
  "peer_metadata": null
}
^2.27.5runtime
module-alias
Environment
{
  "local_name": "module-alias",
  "alias": false,
  "peer_metadata": null
}
^2.2.2runtime
replace-once
Environment
{
  "local_name": "replace-once",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
@types/cookie
Environment
{
  "local_name": "@types/cookie",
  "alias": false,
  "peer_metadata": null
}
^0.4.1runtime
imagemin-svgo
Environment
{
  "local_name": "imagemin-svgo",
  "alias": false,
  "peer_metadata": null
}
^10.0.0runtime
imagemin-webp
Environment
{
  "local_name": "imagemin-webp",
  "alias": false,
  "peer_metadata": null
}
^6.0.0runtime
node-notifier
Environment
{
  "local_name": "node-notifier",
  "alias": false,
  "peer_metadata": null
}
^10.0.0runtime
@types/express
Environment
{
  "local_name": "@types/express",
  "alias": false,
  "peer_metadata": null
}
^4.17.13runtime
@types/prompts
Environment
{
  "local_name": "@types/prompts",
  "alias": false,
  "peer_metadata": null
}
^2.0.14runtime
@types/favicons
Environment
{
  "local_name": "@types/favicons",
  "alias": false,
  "peer_metadata": null
}
^6.2.2runtime
@types/fs-extra
Environment
{
  "local_name": "@types/fs-extra",
  "alias": false,
  "peer_metadata": null
}
^9.0.12runtime
less-vars-to-js
Environment
{
  "local_name": "less-vars-to-js",
  "alias": false,
  "peer_metadata": null
}
^1.3.0runtime
react-dev-utils
Environment
{
  "local_name": "react-dev-utils",
  "alias": false,
  "peer_metadata": null
}
^11.0.4runtime
@types/pg-escape
Environment
{
  "local_name": "@types/pg-escape",
  "alias": false,
  "peer_metadata": null
}
^0.2.1runtime
@babel/preset-env
Environment
{
  "local_name": "@babel/preset-env",
  "alias": false,
  "peer_metadata": null
}
^7.15.6runtime
@prefresh/webpack
Environment
{
  "local_name": "@prefresh/webpack",
  "alias": false,
  "peer_metadata": null
}
^3.3.2runtime
@types/nodemailer
Environment
{
  "local_name": "@types/nodemailer",
  "alias": false,
  "peer_metadata": null
}
^6.4.4runtime
@types/babel__core
Environment
{
  "local_name": "@types/babel__core",
  "alias": false,
  "peer_metadata": null
}
^7.1.16runtime
@types/webpack-env
Environment
{
  "local_name": "@types/webpack-env",
  "alias": false,
  "peer_metadata": null
}
^1.16.2runtime
@babel/preset-react
Environment
{
  "local_name": "@babel/preset-react",
  "alias": false,
  "peer_metadata": null
}
^7.14.5runtime
brotli-webpack-plugin
Environment
{
  "local_name": "brotli-webpack-plugin",
  "alias": false,
  "peer_metadata": null
}
^1.1.0runtime
console-table-printer
Environment
{
  "local_name": "console-table-printer",
  "alias": false,
  "peer_metadata": null
}
^2.10.0runtime
terser-webpack-plugin
Environment
{
  "local_name": "terser-webpack-plugin",
  "alias": false,
  "peer_metadata": null
}
^5.2.4runtime
webpack-dev-middleware
Environment
{
  "local_name": "webpack-dev-middleware",
  "alias": false,
  "peer_metadata": null
}
^5.1.0runtime
webpack-hot-middleware
Environment
{
  "local_name": "webpack-hot-middleware",
  "alias": false,
  "peer_metadata": null
}
^2.25.0runtime
webpack-node-externals
Environment
{
  "local_name": "webpack-node-externals",
  "alias": false,
  "peer_metadata": null
}
^3.0.0runtime
mini-css-extract-plugin
Environment
{
  "local_name": "mini-css-extract-plugin",
  "alias": false,
  "peer_metadata": null
}
^2.2.2runtime
webpack-assets-manifest
Environment
{
  "local_name": "webpack-assets-manifest",
  "alias": false,
  "peer_metadata": null
}
^5.0.6runtime
webpack-bundle-analyzer
Environment
{
  "local_name": "webpack-bundle-analyzer",
  "alias": false,
  "peer_metadata": null
}
^4.4.2runtime
webpack-virtual-modules
Environment
{
  "local_name": "webpack-virtual-modules",
  "alias": false,
  "peer_metadata": null
}
^0.4.3runtime
@babel/preset-typescript
Environment
{
  "local_name": "@babel/preset-typescript",
  "alias": false,
  "peer_metadata": null
}
^7.15.0runtime
babel-plugin-glob-import
Environment
{
  "local_name": "babel-plugin-glob-import",
  "alias": false,
  "peer_metadata": null
}
^0.0.7runtime
@types/universal-analytics
Environment
{
  "local_name": "@types/universal-analytics",
  "alias": false,
  "peer_metadata": null
}
^0.4.5runtime
compression-webpack-plugin
Environment
{
  "local_name": "compression-webpack-plugin",
  "alias": false,
  "peer_metadata": null
}
^8.0.1runtime
css-minimizer-webpack-plugin
Environment
{
  "local_name": "css-minimizer-webpack-plugin",
  "alias": false,
  "peer_metadata": null
}
^4.1.0runtime
speed-measure-webpack-plugin
Environment
{
  "local_name": "speed-measure-webpack-plugin",
  "alias": false,
  "peer_metadata": null
}
^1.5.0runtime
babel-plugin-transform-imports
Environment
{
  "local_name": "babel-plugin-transform-imports",
  "alias": false,
  "peer_metadata": null
}
^2.0.0runtime
image-minimizer-webpack-plugin
Environment
{
  "local_name": "image-minimizer-webpack-plugin",
  "alias": false,
  "peer_metadata": null
}
^2.2.0runtime
@babel/plugin-proposal-private-methods
Environment
{
  "local_name": "@babel/plugin-proposal-private-methods",
  "alias": false,
  "peer_metadata": null
}
^7.14.5runtime
@babel/plugin-proposal-class-properties
Environment
{
  "local_name": "@babel/plugin-proposal-class-properties",
  "alias": false,
  "peer_metadata": null
}
^7.14.5runtime
babel-plugin-transform-react-remove-prop-types
Environment
{
  "local_name": "babel-plugin-transform-react-remove-prop-types",
  "alias": false,
  "peer_metadata": null
}
^0.4.24runtime
@babel/plugin-transform-react-constant-elements
Environment
{
  "local_name": "@babel/plugin-transform-react-constant-elements",
  "alias": false,
  "peer_metadata": null
}
^7.14.5runtime
@babel/plugin-proposal-private-property-in-object
Environment
{
  "local_name": "@babel/plugin-proposal-private-property-in-object",
  "alias": false,
  "peer_metadata": null
}
^7.15.4runtime
webpack
Environment
{
  "local_name": "webpack",
  "alias": false,
  "peer_metadata": null
}
^5.89.0development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^16.9.1development
@types/prompts
Environment
{
  "local_name": "@types/prompts",
  "alias": false,
  "peer_metadata": null
}
^2.0.14development
@types/favicons
Environment
{
  "local_name": "@types/favicons",
  "alias": false,
  "peer_metadata": null
}
^6.2.2development
@types/fs-extra
Environment
{
  "local_name": "@types/fs-extra",
  "alias": false,
  "peer_metadata": null
}
^9.0.12development
@types/nodemailer
Environment
{
  "local_name": "@types/nodemailer",
  "alias": false,
  "peer_metadata": null
}
^6.4.4development
@types/webpack-env
Environment
{
  "local_name": "@types/webpack-env",
  "alias": false,
  "peer_metadata": null
}
^1.16.2development
@types/babel__preset-env
Environment
{
  "local_name": "@types/babel__preset-env",
  "alias": false,
  "peer_metadata": null
}
^7.9.6development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "27131ec6e7ae2d51033359076f463876378585cf",
  "tarball": "https://registry.npmjs.org/5htp/-/5htp-0.3.8.tgz",
  "fileCount": 134,
  "integrity": "sha512-1dgmqVp8JOHisKUy9RV+oin4PEgofncc/8NFjcHTu5lrNXuLmWGi7/Se7jFz5U5RRLTP9FolSQeW0pG9TMDK2w==",
  "signatures": [
    {
      "sig": "MEUCIBFQCrqdcl3H0GzmUllchsctlXLxi6VBJMMQH5CCEHfrAiEA5iCe3PmXcr36drnx8vn8Uc+bNH4Ogcv489jwW95lFEo=",
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"
    }
  ],
  "unpackedSize": 20350692
}

Repository

PENDING
gaetanlegac/5htp

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
gaetanlegac/5htp-cli

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:35 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:5d1cada5a1efe8bc9020aadad3ac2ef4dd146a17153e703a8cfdc6d2fdeaa0a0

Other collected versions

0.6.4-120 Mar0.6.420 Mar0.6.3-820 Mar0.6.3-717 Mar0.6.3-617 Mar0.6.3-516 MarView all collected versions →