A collection of Javascript prototypes, helper functions, utilities, and other general purpose tools useful for a variety of projects. Created as a personal collection of useful things for DrowsyDev projects.
Add the NPM package to your project by running:
npm install --save drowsy-dev-helpers
Or install globally with
npm install -g drowsy-dev-helpers
Simply require and invoke the package. There is no need to bind the result to a variable, unless you want to invoke the modules at a later point in your code. (Although it's recommended to invoke upon requiring at the top of your module)
require('drowsy-dev-helpers')();
To avoid unnecessary overhead, you may also import individual modules of the collection using the following syntax:
require('drowsy-dev-helpers').numbers()
To allow for modularity and overhead reduction, you can require individual modules of the larger package to get just the pieces that are useful for your particular file or project. A comprehensive list of these modules are listed below:
require('drowsy-dev-helpers').numbers()
-- Prototypes that can be used on numbersrequire('drowsy-dev-helpers').helpers()
-- General purposes helper functions
DrowsyDev