Stream processing and buffer operations with size limit enforcement
npm install @schafevormfenster/streamingStream Processing & Buffer Operations
This package provides utilities for stream processing and buffer operations with size limit enforcement.
``bash`
pnpm add @schafevormfenster/streaming
For faster development with Vite, use TypeScript sources directly:
`typescript``
// vite.config.ts - Requires tsconfig "target": "ES2022"+
export default defineConfig({
resolve: { conditions: ['source', 'import', 'default'] }
});
Benefits: Faster HMR, direct debugging, better tree-shaking.
- Stream-to-Buffer Conversion: Convert streams to buffers with size limits.
- Size Enforcement: Prevent memory overflow by enforcing maximum sizes.
- Usage: Used by packages that need to process streams.
- Dependencies: Depends on logging package for error reporting.