0.1.1 • Published 1 year ago

str-fns v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

str-fns

.github/workflows/ci.yaml codecov

JSR JSR Score

npm version

A collection of type-safe string functions written in pure TypeScript.

Why str-fns

  • I copy and paste useful functions from my notepad for every project using TypeScript/JavaScript. This library is a library of those functions.
  • I need some useful functions to deal with string types in my projects. This library is a collection of those functions with type-safety.

API

  • capitalize - Capitalize the first letter of a string.
  • uncapitalize - Uncapitalize the first letter of a string.
  • uppercase - Convert a string to uppercase.
  • lowercase - Convert a string to lowercase.
  • split - Split a string into substrings using the specified separator and return them as an array.
  • concat - Concatenate strings.

Related Works

License

MIT

0.1.1

1 year ago

0.1.0

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.15

1 year ago

0.0.11

1 year ago

0.0.12

1 year ago

0.0.10

2 years ago

0.0.10-alpha0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago