Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ilteoood/sharpdash

sharpDash is a C# porting of the famouse JavaScript Lodash library
https://github.com/ilteoood/sharpdash

Last synced: 22 days ago
JSON representation

sharpDash is a C# porting of the famouse JavaScript Lodash library

Awesome Lists containing this project

README

        

# sharpDash [![Build Status](https://travis-ci.org/ilteoood/sharpDash.png)](https://travis-ci.org/ilteoood/sharpDash) [![Language](https://img.shields.io/badge/Language-C%23-blue.svg)](https://img.shields.io/badge/Language-C%23-blue.svg)
sharpDash is a C# porting of the famouse Javascript Lodash library.

For the documentation, you can use the official one provided by [Lodash](https://lodash.com/docs/4.17.2).

Today I'm supporting just few of its functions, only those that operate on Array, Collection, Date, Number and String. In particular, the supported functions are:

## Array:
- chunk
- compact
- concat
- difference
- differenceBy
- drop
- dropRight
- dropRightWhile
- fill
- first
- flatten
- flattenDeep
- flattenDepth
- head
- indexOf
- initial
- intersection
- intersectionBy
- join
- last
- lastIndexOf
- nth
- pull
- pullAll
- pullAt
- remove
- reverse
- slice
- sortedIndex
- sortedIndexOf
- sortedLastIndex
- sortedLastIndexOf
- sortedUniq
- tail
- take
- takeRight
- union
- unionBy
- uniq
- unzip
- without
- xor
- xorBy
- zip
- zipObject

## Collection:
- countBy (array only)
- filter
- find
- findLast
- includes

## Date:
- now

## Number:
- clamp
- inRange
- random

## Math:
- add
- ceil
- divide
- floor
- max
- mean
- min
- multiply
- round
- subtract
- sum

## String:
- camelCase
- capitalize
- deburr
- endsWith
- escape
- escapeRegExp
- kebabCase
- lowerCase
- lowerFirst
- pad
- padEnd
- padStart
- parseInt
- repeat
- replace
- snakeCase
- split
- startCase
- startsWith
- toLower
- toUpper
- trim
- trimEnd
- trimStart
- upperCase
- upperFirst
- words

## Lang:
- castArray
- gt
- gte
- isArray
- isBoolean
- isDate

More functions will be added in future.

I precise that this is a JUST-FOR-FUN project, so I will work on it only when I will not be too busy.

Enjoy!