Socket
Socket
Sign inDemoInstall

str-fns

Package Overview
Dependencies
0
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

str-fns

[![.github/workflows/ci.yaml](https://github.com/ryoppippi/str-fns/actions/workflows/ci.yaml/badge.svg)](https://github.com/ryoppippi/str-fns/actions/workflows/ci.yaml) [![codecov](https://codecov.io/gh/ryoppippi/str-fns/graph/badge.svg?token=UZW583YFXB)]


Version published
Weekly downloads
335
increased by52.97%
Maintainers
0
Created
Weekly downloads
 

Readme

Source

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.

License

MIT

FAQs

Package last updated on 24 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc