1.1.0 • Published 3 years ago

com.recoyxgroup.javascript.string v1.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

JavaScriptString

Package for more String manipulation facility.

API

import StringHelpers from 'com.recoyxgroup.javascript.string';
StringHelpers.apply()

Applies arguments to parameterized string, using either Array, Map or Object.

console.log(StringHelpers.apply('$2-$1', 'foo', 'bar'));
console.log(StringHelpers.apply('some $x', { x: 10 }));
StringHelpers.equivalenceBetween(a1, a2)

Returns the equivalence rate between two strings. Implemented by the string-similarity package.

console.log(StringHelpers.equivalenceBetween('x', 'xx'));
1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago