Personal Suite of Code for self-made packages and apps, written in TypeScript, build by m10rten
- Packages - Containing
Nodepackages - Apps - Containing frontend applications
pkg- Folder containing the packages forGo
@mvdlei/zap- A utility class forfetchwithzod. IncludesStrikeandZap.@mvdlei/hooks- A collection of React hooks for various functionalities.@mvdlei/key- A utility class for encryption and decryption. IncludesEnigma.@mvdlei/tzod- A utility class forzod. IncludesTclass.@mvdlei/env- A utility for environment variables.@mvdlei/log- A logger for Node.@mvdlei/types- A collection of types used in the packages in this repository.@mvdlei/retry- A utility for retrying operations.@mvdlei/pg-toggle- A utility for feature toggles with PostgreSQL, made withdrizzle-orm.@mvdlei/iglo- A simple yet very powerful error handler and secure program runner for any environment.@mvdlei/reset- A typescript utility for resetting default behavior of built-in types.@mvdlei/edge- A utility for edge-ready web applications.@mvdlei/next- A package containing utilities for Next.js applications.@mvdlei/web- A package containing an upgraded fetch utility for web applications.
showcase- A showcase of the packages in this repository.api- An API folder where the API's can be stored.
A folder containing examples for random code snippets.
next-cache- An example of how to cache data in a Next.js application.drizzle-pull- An example of how to pull data from a PostgreSQL database withdrizzle-orm.prisma-pull- An example of how to pull data from a PostgreSQL database withprisma.
util- A utility module forGo.- Includes a very basic Zod-like Z instance with
.Objectand.String/.Number.
- Includes a very basic Zod-like Z instance with
To develop this suite you must have node, npm | pnpm installed on your local system.
To run the Go packages you must have Go installed on your local system.
To run docker containers you must have docker installed on your local system.
Install the dependencies with the following command:
pnpm installTo run the scripts in this repository, use the following command:
pnpm run <script>Where <script> is the name of the script you want to run. Check pnpm run for a list of available scripts.
The packages that are in this repository are within the @mvdlei/ namespace on npm. Or are standalone packages.
There are no packages starting with mvdlei- in this repository.
The code written in this repository belongs to @m10rten and is #opensource. public npm packages are free to use with the LICENSE included in the sourcecode.
Dependabot is enabled to ensure the latest bugs and issues are solved.
Feel free to open an issue regarding security aspects of any package or code in this repository.