https://github.com/codewell/from-object-keys
Get values from object keys
https://github.com/codewell/from-object-keys
Last synced: 6 days ago
JSON representation
Get values from object keys
- Host: GitHub
- URL: https://github.com/codewell/from-object-keys
- Owner: codewell
- License: mit
- Created: 2020-11-26T14:01:08.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-26T14:09:47.000Z (over 5 years ago)
- Last Synced: 2023-03-02T23:06:06.964Z (over 3 years ago)
- Language: JavaScript
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @codewell/from-object-keys
## Installation
```
npm install @codewell/from-object-keys
```
## Basic Usage
```JavaScript
import fromObjectKeys from '@codewell/from-object-keys';
const myObject = {
foo: 123,
bar: 'hello world',
};
fromObjectKeys('bar', 'foo')(myObject);
// => ['hello world', 123]
```