Skip to content

v0.2.0

Latest

Choose a tag to compare

@frontendfixer frontendfixer released this 09 Nov 10:29
· 7 commits to main since this release

@frontendfixer/helper v.2.0

A TypeScript utility library providing commonly used functions for string manipulation, encryption, date formatting, and more.

🚀 Features

String Manipulation

  • createSlug(): Convert strings to URL-friendly slugs
  • toTitleCase(): Convert strings to title case format
  • slugToTitleCase(): Convert slugs back to readable title case format

Cryptography

  • generateKey(): Generate AES-256 encryption keys
  • encryptText(): Encrypt text using AES-256-GCM encryption
  • decryptText(): Decrypt AES-256-GCM encrypted text

Date & Time

  • sleep(): Promise-based delay function with optional callback
  • formattedDate(): Format dates