Index Generator

For those times and places in an app where you need to generate a new and unique sequential index number.

This uses a tinyDB to maintain the last number used


First up, the index will go up to 1 million

Second, the index will go up to 10 million, this does add an extra 0 (you could just change digits from 6 to 7 in the first example)