Skip to content

fp-js/fj-pluck

Repository files navigation

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'

About

Plucks a property from the given object.

Resources

License

Stars

Watchers

Forks

Packages

No packages published