Javascript utility functions NuGet Package

Javacript utility functions that do not exist in current ecma specification:

sliceOff(arrayOfIndicesToRemoveItemsFromInputArray, applyToObject, optionalArrayOfObjectProps)
- from inut array of objects removes those objects with ids specified in the first argument (all in one batch).

You can filter input array of objects by supplying the second argument and optional third argument with specified object props and values. It is optimized for ordered list of array indices for objects to be removed;

-insert(newArray, startIndex) : inserts new array into existing array starting at given index

-reverse(): reverses input string (equivalent to TSQL REVERSE function)

- countNumberOfChars(charToBeSearched): returns the total number of charToBeSearched chars for the given string

- calculateDateDifference(startDate, endDate) - returns date difference as a literal string, e.g.

3 years 6 months.




Got any Javascript utility functions Question?





Info

Version: 1.0.3
Author(s): Łukasz Dąbrowski
Last Update: Wednesday, November 15, 2017
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/Dabrowski-Software-Development/JsUtilityFunctions
NuGet Url: https://www.nuget.org/packages/js-utilities


Install
Install-Package js-utilities
dotnet add package js-utilities
paket add js-utilities
js-utilities Download (Unzip the "nupkg" after downloading)

1 package depend on this package.




STATS

must-have-score

.3

avg-downloads-per-day

3

days-since-last-release

2364