flodash 1.1.0 copy "flodash: ^1.1.0" to clipboard
flodash: ^1.1.0 copied to clipboard

A dart implementation of the popular JavaScript library Lodash

Flodash #

Pub GitHub license

This library is a dart implementation of the popular JavaScript library lodash. It is a collection of utility functions that make it easier to work with collections, objects, numbers, strings, etc.

While this library exposes almost all the functionality of lodash, it is not an exact match. Some functions have been omitted because they are not applicable to dart and some functions have been marked as deprecated because their functionality is already provided by dart itself. For a complete list of the functions that have been omitted, please refer to the omitted functions section.

Usage #

A simple usage example:

import 'package:flodash/flodash.dart' as flodash;

main() {
  List<int> list = [1, [2, 3]];
  print(flodash.flatten(list)); // [1, 2, 3]
}

Contributing #

If you want to contribute to this project, please read the contributing guidelines.


License #

This project is licensed under the MIT License - see the LICENSE file for details


Omitted functions #

The following functions have been omitted because they are not applicable to dart:

  • Array

    • differenceBy
    • intersectionBy
    • pull
    • pullAll
    • pullAllBy
    • pullAllWith
    • pullAt
    • unionBy
    • unzipWith
    • xorBy
    • zipWith
  • Collection

    • invokeMap
3
likes
135
pub points
30%
popularity

Publisher

verified publishersliitfoss.org

A dart implementation of the popular JavaScript library Lodash

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

More

Packages that depend on flodash