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
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')
example = StringUtils.toCamelCase(example)
###Stream API
const stream = require('@beautiful-code/string-utils').stream
let example = 'this is a string'
example = stream(example).toCamelCase().capitalize().get()
const StringStream = require('string-utils').StringStream