Skip to content

๐Ÿ—๏ธ YinzerFlow - A lightweight, security-first web framework for Node.js and Bun with TypeScript support and Pittsburgh personality

License

Notifications You must be signed in to change notification settings

yinzers/YinzerFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

63 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

YinzerFlow

A lightweight, modular HTTP server framework for Node.js and Bun built with TypeScript. This is a framework project, not an API or application. The code here is meant to be used by other developers to build their own applications.

โœจ Features

YinzerFlow is designed for developers who want:

  • Security-first โ€” Built-in protections against common web vulnerabilities
  • TypeScript-first โ€” Full type safety and IntelliSense support (JavaScript is supported natively)
  • Pittsburgh personality โ€” Witty logging and error messages
  • Flexible configuration โ€” Comprehensive options for different use cases
  • Modular architecture โ€” Scales from simple APIs to complex applications

๐Ÿš€ Quick Start

# Install
npm install yinzerflow
# or
bun add yinzerflow
import { YinzerFlow } from 'yinzerflow';

const app = new YinzerFlow({ port: 3000 });

app.get('/hello', () => {
  return { message: 'Hello, World!' };
});

await app.listen();

YinzerFlow works right out of the boxโ€”no configuration required. However, plenty of configuration options are available.

๐Ÿ“š Documentation

For complete documentation, examples, and guides, see the docs/ folder:

  • Core Concepts - Context, Request, Response, Routing, and Hooks
  • Configuration - All configuration options
  • Modules - Built-in modules (Rate Limiting, CORS, IP Security, Body Parsing)

๐Ÿ“– Official Documentation - Published docs with interactive examples

๐Ÿ›ก๏ธ Built-in Security

YinzerFlow includes comprehensive security features out of the box:

  • Rate limiting - Protection against DoS attacks (enabled by default)
  • IP security - Advanced IP validation and spoofing detection
  • CORS protection - Configurable cross-origin resource sharing
  • Body parsing limits - Protection against payload attacks
  • Header validation - Automatic sanitization and size limits
  • CRLF injection prevention - Secure header handling

๐Ÿ“„ License

MIT License - see LICENSE for details.

About

๐Ÿ—๏ธ YinzerFlow - A lightweight, security-first web framework for Node.js and Bun with TypeScript support and Pittsburgh personality

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •