Skip to content

huanghaiyang/todash.dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A lodash implement by Dart

Keep on developing.

Add Dependency

dependencies:
  todash:
    git: git://github.com/huanghaiyang/todash

supports

Array

  • concat
  • difference
  • differenceBy
  • differenceWith
  • fromPairs
  • head
  • first
  • fill
  • findIndex
  • indexOf

Collection

  • slice
  • flatten
  • flattenDeep
  • flattenDepth
  • chunk
  • flatMap
  • flatMapDeep
  • flatMapDepth
  • map
  • each
  • forEach
  • forEachRight
  • groupBy

Function

  • after
  • before
  • defer
  • negate
  • once
  • overArgs
  • memoize
  • wrap

Lang

  • isNull
  • isEven
  • isOdd
  • toString
  • castArray
  • eq
  • clone
  • cloneWith
  • cloneDeep
  • cloneDeepWith

Math

Object

  • get
  • pick // The type of key should be String, fix for other type later
  • pickBy
  • toPairs

utils

  • range
  • rangeRight
  • times