Skip to content

Commit 5161605

Browse files
committed
0.1.0-beta
1 parent 44767ce commit 5161605

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55
[![NPM package badge](https://img.shields.io/badge/npm-install-orange.svg)](https://www.npmjs.com/package/plain-object-helpers)
66
![Test and Build status badge](https://github.com/JS-Helpers/plain-object-helpers/workflows/Test%20and%20Build/badge.svg)
77

8+
## Helpers
9+
10+
- `getIn()`
11+
- `setIn()`
12+
- `toPath()`
13+
- `isPlaingObject()`
14+
- `isEmptyObject()`
15+
16+
817
## Coverage
918

1019
| Statements | Branches | Functions | Lines |

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "plain-object-helpers",
3-
"version": "0.0.3-prealpha",
3+
"version": "0.1.0-beta",
44
"description": "description",
55
"main": "dist/index.js",
66
"files": [

src/to-path.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const regex = /(\[(?=\d+])|(?<=\[\d+)])|\.+/;
1010
// -----------------------------------------------------------------------------
1111

1212
/**
13-
* Convert string sample in to the path (array)
13+
* Convert string sample in to the props path
1414
* Inspired by final-form's `toPath` helper
1515
* {@link https://github.com/final-form/final-form/blob/master/src/structure/toPath.js}
1616
* @param {string|null} [sample]

0 commit comments

Comments
 (0)