New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

skaleb-string-utils

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skaleb-string-utils

Simple string utilities provided in an easy to consume interface

  • 0.2.0
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

String Utils

NPM Version Build Status Quality Gate Status Bugs Code Smells Coverage

This package provides easy to use string utility functions that provide more functionality above and beyond normal string functions. These functions can be imported individually, without instantiation.

Installation

To install this package you can simply use the install command below.

$ npm i --save skaleb-string-utils

Usage

reverse(string) reverses and returns the given string

import { reverse } from './index'

// gnirts emos
return reverse('some string')

capitalCase(string) capitalizes each individual word in a given string and returns the new string

import { capitalCase } from './index'

// Some Or Other String
return capitalCase('some or other string')

camelCase(string) converts the given string to camelCaseFormat and returns it

import { camelCase } from './index'

// thisIsNowCamelCase
return camelCase('This is now camel case')

Tests

This project is completely covered by unit tests. Various cases have been accounted for both in the codebase and in the tests covering it. If a bug is picked up regarding the test suite or code, feel free to make a contribution to help correct the bug.

To run the tests, you can simply run the following test command/s.

$ npm run lint
$ npm run test
$ npm run coverage

Contributions

Feedback and contributions are more than welcome. Should you feel there is something you wish to contribute to this paginator, feel free to make a merge request. Ensure that whatever proposed change, has tests covering various cases for the change.

Keywords

FAQs

Package last updated on 23 Nov 2019

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