flat 0.2.0
flat: ^0.2.0 copied to clipboard
A simple, no dependency 🚀 way to take a nested Map and flatten it into a single depth Map. Based on Node.js `flat` package.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.2.0] - 2020-02-22 #
- chore: Enable effective_dart linting rules
- feat: maxDepth parameter
- fix: Preserve empty Maps
- refactor: Simplify logic based on npm's flat
[0.1.1] - 2020-02-20 #
- chore: Simple example project
- chore: API docs
[0.1.0] - 2020-02-20 #
- feat: delimiter override option
- feat: safe mode to avoid flattening lists
- feat: Ability to flatten lists (which can contain maps)
- feat: Ability to flatten nested maps
- feat:
flatten
method basic implementation