node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

fj-pluck

fj-pluck

Build Status npm version

Plucks a property from the given object.

Installation

npm install fj-pluck --save

Usage

var pluck = require('pluck');
 
const obj = {
  name : 'fj-js'
}
 
pluck('name')(obj); // 'fj-js' 
 
pluck('name',obj) // 'fj-js'