<commit_before>[![Travis](https://img.shields.io/travis/crazy4groovy/lodash.getPath.svg)](https://travis-ci.org/crazy4groovy/lodash.getPath)

# lodash-getpath

A [lodash](https://lodash.com/) plugin/extension/[mixin](https://lodash.com/docs#mixin) for [_.get](https://lodash.com/docs#get), which allows intuitive paths eg. 'name[0,1]' and 'a.b[].x[-1].z'

Supported syntax features:

- +/-ve indexes
- `[0,1,-2]` comma list of indexes --> spliced Array
- `[]` all indexes --> whole Array

## Install
<commit_msg>tweak to README.md<commit_after>[![Travis](https://img.shields.io/travis/crazy4groovy/lodash.getPath.svg)](https://travis-ci.org/crazy4groovy/lodash.getPath)

# lodash-getpath

A [lodash](https://lodash.com/) plugin/extension/[mixin](https://lodash.com/docs#mixin) for [_.get](https://lodash.com/docs#get), which allows intuitive paths eg. 'name[0,1]' and 'a.b[].x[-1].z'

## What for?

Above-and-beyond pathing syntax for nested Array properties:

- +/-ve indexes
- `[0,1,-2]` comma list of indexes --> spliced Array
- `[]` all indexes --> whole Array

## Install

{'fraction_non_alphanumeric': 0.2042711234911792, 'fraction_numerical': 0.014856081708449397, 'mean_word_length': 4.444444444444445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2156344', 'n_tokens_mistral': 442, 'n_tokens_neox': 403, 'n_words': 72}