mock-end

mock-end/pick-keys

Randomly sampling some keys from an object.

JavaScript
0
0
MIT License

`pick-keys` is a lightweight Node.js utility that randomly selects one or more keys from an object, making it useful for generating mock data or testing scenarios. It gracefully handles edge cases like empty or non-object inputs and is designed for developers needing simple, random property sampling in their projects.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of mock-end/pick-keys

Account's avatar
Checks whether a value is an object
Account's avatar
An Object.keys replacement, in case Object.keys is not available. From https://github.com/es-shims/es5-shim
Account's avatar
Given an array, pick some random elements and return them in a new array.
Account's avatar
Static analysis tool for JavaScript
Account's avatar
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Account's avatar
takes json-cov output into stdin and POSTs to coveralls.io
Account's avatar
Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale
Account's avatar
simple, flexible, fun test framework

Support the repos that depend on this repository

Top contributors

bubkoo's profile
bubkoo
7 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet