Skip to content

fn-pasta

A collection of utility functions you can copy and paste directly into your projects

Why fn-pasta?

No Dependencies

Just copy the function you need. No package installation required.

Well-Documented

Each function comes with clear documentation and examples.

Typed

All functions include TypeScript typings for better developer experience.

Small Footprint

Only use what you need - no bloat in your codebase.

Array

Functions for array manipulation, filtering, mapping, and more.

Collection

Collection-related utility functions.

Date

Date manipulation and formatting utilities.

Number

Number manipulation and formatting utilities.

Object

Functions for working with objects, deep cloning, merging, and more.

String

String manipulation, formatting, validation, and more.

Utility

General purpose utility functions for common tasks.

Value

Value-checking and transformation utilities.