solo-backpacker v0.1.1
Solo Backpacker
"Solo Backpacker is my module. There are many like it, but this one is mine.
Without me, my module is useless. Without my module, I am useless.
My module is human, even as I, because it is my life. Thus, I will learn it as a brother. I will learn is weaknesses, its strengths, its parts, its accessories, its syntax and its utility. I will keep my code clean and DRY, even as I am clean and dry."
Solo Backpacker is a collections of functions or classes that I have written, whilst learning about data structures, algorithms and solving coding problems. They all belong in this module, just as all a travellers belongings belong in their backpack.
Usage
const backpack = require('solo-backpacker');
const mergeSort = backpack.mergeSort;
const quickSort = backpack.quickSort;
var LinkedList = backpack.LinkedList;
let a = [3, 2, 1];
let b = [9, 8, 7];
// returns [1, 2, 3] using mergeSort
mergeSort(a);
// returns [7, 8, 9] using quickSort
quickSort(b);
// creates an instance of LinkedList
const list = new LinkedList();
Some more quotes
"All men are islands. And what's more, this is the time to be one. This is an island age. A hundred years ago, for example, you had to depend on other people. No one had TV or CDs or DVDs or home espresso makers. As a matter of fact they didn't have anything cool. Whereas now you can make yourself a little island paradise."