A set of es6 modules I created for personal projects.
download.js
: The function downloads a JavaScriptFile
object in a webpage.fileSanitizer.js
: The function sanitizes a filename so it can be accepted by most filesystems.parallelDownload.js
: A group of functions that act likefetch()
but download a list of files all at once.parser.js
: A wrapper aroundDOMParser()
that can turn text into aDocument
object.randomString.js
: Returns a random string generated from a given length and character set.scramble.js
: Uses randomString to create a 'hackery' in a text element.timing.js
: A basic function benchmarking utility.truncation.js
: Some functions that truncate strings with various methods.