New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

utilio-string

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

utilio-string

String manipulation utilites

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Utilio String Utils

Set of utilities to easily analyse and normalize strings.

It is divided into two modules:

  • Analysers - can be used to analyse strings
  • Converters - can be used to normalize strings

Getting Started

Installing

npm install utilio-string

Modules

Analysers

Currently contains the following functionalities:

  • Calculate distance between two strings (similarity) - two algorithms available
    • Levenshtein
    • Dice Coefficient
  • Find differences between two strings
  • Find duplicated values in string:
    • Characters
    • Words
    • Sentences

Converters

Currently contains the following functionalities:

  • Remove empty lines - remove blank lines from a string
  • Multi line to single line string
  • Normalize - Normalize string by removing accents and special characters (ç, ã, ...)
  • Remove all spaces from string
  • Remove all duplicated spaces from string

Authors

  • José Miguel Melo

Keywords

string

FAQs

Package last updated on 09 Dec 2018

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