@helpers4/string
v3.1.9
Published
A set of helpers in TS/JS, compatible with tree-shaking, for string.
Maintainers
Keywords
Readme
@helpers4
The @helpers4 are a collection of helper functions for use in any project, whatever the framework.
Every helper is a standalone module and supports tree-shaking, so you can use only the helpers you need without embedding the whole library.
@helpers4/string
A set of helpers for working with URLs.
Documentation
https://helpers4.dev/typescript/categories/string/
- camelCase
- capitalize
- createGlobMatcher
- createMatcher
- createRegexMatcher
- createSafeMatcher
- dedent
- deobfuscate
- escapeHtml
- escapeRegExp
- excerpt
- extractErrorMessage
- formatProgressBar
- fromBase64
- globToRegExp
- injectWordBreaks
- isBlank
- isEmpty
- isNonEmpty
- isNotBlank
- kebabCase
- leadingSentence
- levenshteinDistance
- levenshteinSimilarity
- obfuscate
- pascalCase
- removeDiacritics
- slugify
- snakeCase
- stripHtml
- template
- titleCase
- toBase64
- trim
- trimEnd
- trimStart
- truncate
- unescapeHtml
- unorderedPairKey
- words
See
- animation
- array
- binary
- browser
- ci
- color
- commit
- date
- font
- function
- geography
- geometry
- guard
- id
- json
- license
- map
- markdown
- node
- number
- object
- observable
- promise
- set
- structure
- type
- url
- version
All Available Packages
| Name | Package | Source Code | Description | |------|---------|-------------|-------------| | animation | @helpers4/animation | Source | Timing and interpolation for animations | | array | @helpers4/array | Source | Array manipulation utilities | | binary | @helpers4/binary | Source | Read and write binary formats | | browser | @helpers4/browser | Source | Browser-specific utilities | | ci | @helpers4/ci | Source | CI/CD workflow status utilities | | color | @helpers4/color | Source | Color conversion and validation utilities | | commit | @helpers4/commit | Source | Conventional Commits parsing and analysis | | date | @helpers4/date | Source | Date and time utility functions | | font | @helpers4/font | Source | Font selection helpers | | function | @helpers4/function | Source | Function utilities and type guards | | geography | @helpers4/geography | Source | Geographic coordinates helpers | | geometry | @helpers4/geometry | Source | 2D points, rectangles and affine matrices | | guard | @helpers4/guard | Source | Runtime type guard utilities | | id | @helpers4/id | Source | Unique identifier generation utilities | | json | @helpers4/json | Source | JSON parsing and serialization, with its common variants | | license | @helpers4/license | Source | License string classification and comparison | | map | @helpers4/map | Source | Native Map manipulation utilities | | markdown | @helpers4/markdown | Source | Markdown formatting and escaping utilities | | node | @helpers4/node | Source | Node.js-specific utilities | | number | @helpers4/number | Source | Number utility functions and validation | | object | @helpers4/object | Source | Object manipulation utilities | | observable | @helpers4/observable | Source | Observable utilities and combinators | | promise | @helpers4/promise | Source | Promise utilities and error handling | | set | @helpers4/set | Source | Native Set manipulation utilities | | string | @helpers4/string | Source | String manipulation and formatting utilities | | structure | @helpers4/structure | Source | Generic, domain-agnostic data structures | | type | @helpers4/type | Source | Compile-time TypeScript utility types | | url | @helpers4/url | Source | URL parsing and manipulation utilities | | version | @helpers4/version | Source | Version string manipulation utilities |
