Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@beautiful-code/string-utils

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beautiful-code/string-utils

Library for manipulating strings.

  • 0.2.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

String Utils

This is a simple, string manipulation and comparison library. This is intended to be used imported via Node.js (or a bundler like Webpack for client side).

View On

  • Code Climate

Installation

Using NPM or Yarn

npm install '@beautiful-code/string-utils'
yard add '@beautiful-code/string-utils'

Usage

Basic Usage

const StringUtils = require('@beautiful-code/string-utils').StringUtils

let example = 'this is a string'
StringUtils.contains('string') // true
example = StringUtils.toCamelCase(example) // thisIsAString

###Stream API

const stream = require('@beautiful-code/string-utils').stream

let example = 'this is a string'
example = stream(example).toCamelCase().capitalize().get() // ThisIsAString

const StringStream = require('string-utils').StringStream

FAQs

Package last updated on 07 Sep 2020

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc