Skip to content

When you need you need a computer to just pick it, reach for Pickitt!

License

Notifications You must be signed in to change notification settings

actuallyReallyAlex/pickitt

Repository files navigation

pickitt logo

Pickitt

NPM Version NPM Total Downloads npm bundle size (minified + gzip)


When you need a computer to just pick it, reach for Pickitt!

📝 Table of Contents

🧐 About

Pickitt is a simple utility function designed to help you pick an element from an array.

📦 Installing

NPM

npm install pickitt

Yarn

yarn add pickitt

🎈 Usage

import { posOrNeg } from "pickitt";

const randomPosOrNegNum = posOrNeg() * 58;

// `randomPosOrNegNum` will either be 58 or -58

✍️ Author

🎉 Acknowledgements