• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

silvermine / toolbox
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: renovate/lock-file-maintenance
DEFAULT BRANCH: master
Repo Added 24 Mar 2019 01:48PM UTC
Files 34
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH onebytegone/pick
branch: onebytegone/pick
CHANGE BRANCH
x
Reset
  • onebytegone/pick
  • MatheusBaldi/update-eslint-config-file
  • add-optional
  • add-promise-delay
  • add-props-with-type
  • add-require-for-fields
  • build-on-win
  • changelog-v0.3.0
  • changelog-v0.4.0
  • coveralls-parallel
  • crweber/improve-is-empty
  • esmith/add-enum-value-typeguard
  • esmith/add-pick
  • fix-props-with-type-undefined
  • jrthomer/chunk
  • jrthomer/flatten
  • jrthomer/has-property
  • jrthomer/pluck
  • jrthomer/typo
  • map-of-types
  • master
  • node-20
  • onebytegone/npm-standards
  • refs/tags/v0.3.0
  • renovate/chai-4.x
  • renovate/check-node-version-4.x
  • renovate/configure
  • renovate/coveralls-3.x
  • renovate/coverallsapp-github-action-2.x
  • renovate/eslint-monorepo
  • renovate/grunt-1.x
  • renovate/grunt-cli-1.x
  • renovate/grunt-concurrent-3.x
  • renovate/grunt-contrib-clean-2.x
  • renovate/lock-file-maintenance
  • renovate/mocha-10.x
  • renovate/mocha-5.x
  • renovate/node-12.x
  • renovate/npm-grunt-vulnerability
  • renovate/nyc-13.x
  • renovate/nyc-17.x
  • renovate/silvermine-chai-strictly-equal-1.x
  • renovate/silvermine-eslint-config-digest
  • renovate/sinon-17.x
  • renovate/sinon-18.x
  • renovate/sinon-19.x
  • renovate/sinon-5.x
  • renovate/source-map-support-0.x
  • renovate/ts-node-10.x
  • renovate/tslib-2.x
  • renovate/typescript-3.x
  • renovatebot
  • strict-union
  • tslib-upgrade
  • v0.1.0
  • v0.2.0
  • v0.4.0

pending completion
118

push

travis-ci-com

onebytegone
feat: add partial replacement of _.pick

While object destructuring has removed most of the need for a `pick` function, object
destructuring becomes rather unwieldy when trying to pick a large number of properties.
In that case, using a `pick` function makes the code more readable. Since underscore's
typing just returns `any`, adding a type safe `pick`.

NOTE: This doesn't support passing a function which determines the properties to pick as
underscore does. However, there doesn't seem to be a good way to make that behavior type
safe, so not attempting to support it at this time.

137 of 140 branches covered (97.86%)

Branch coverage included in aggregate %.

274 of 275 relevant lines covered (99.64%)

84.52 hits per line

Relevant lines Covered
Build:
Build:
275 RELEVANT LINES 274 COVERED LINES
84.52 HITS PER LINE
Source Files on onebytegone/pick
  • Tree
  • List 30
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
118 onebytegone/pick feat: add partial replacement of _.pick While object destructuring has removed most of the need for a `pick` function, object destructuring becomes rather unwieldy when trying to pick a large number of properties. In that case, using a `pick` fun... push 02 Mar 2022 02:00PM UTC onebytegone travis-ci-com pending completion  
119 onebytegone/pick Merge c7d143e05 into 246895f3b Pull #38 02 Mar 2022 02:00PM UTC web-flow travis-ci-com pending completion  
117 onebytegone/pick Merge 3bc8e9ba3 into 246895f3b Pull #38 01 Mar 2022 07:01PM UTC web-flow travis-ci-com pending completion  
116 onebytegone/pick feat: add partial replacement of _.pick While object destructuring has removed most of the need for a `pick` function, object destructuring becomes rather unwieldy when trying to pick a large number of properties. In that case, using a `pick` fun... push 01 Mar 2022 06:57PM UTC onebytegone travis-ci-com pending completion  
See All Builds (224)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc