MongoDB Shell Enhancements for Hackers - Modernized
published version 0.1.5, 3 years agoA script to login to NPM non-interactively.
published version 1.4.11, 2 years agoAutomated or semi-automated NPM login with a YubiKey as 2FA, simple, no dependencies, auditable.
published version 1.0.5, 2 years agoReplaces relative images URL paths in SCSS with absolute URL from ROOT_URL environment variable.
published version 0.1.3, 2 years agoGets linecounts of node.js project for code and text, categorized as specified.
published version 0.3.3, 7 months agoFormat 2 strings, human readable, easy compare, highlight beginning/middle/end (if applicable) same/different parts, algorithm/function, visualize/highlight, match unchanged context. Fast and minimal, zero dependencies, supply your own formatting function
published version 0.3.3, 7 months agoRuns the provided command and returns a promise that resolves with array of lines of stdout. onError can be 'empty' to receive an empty array regardless of error, 'exit' (process) else reject the promise.
published version 0.1.7, 7 months ago446 bytes no-nonsense reliable colors for CLI/terminal console.log on Linux/Mac.
published version 0.1.5, 7 months agoReplace (with option to append) string or RegEx in a file, if different vs old contents (SSD/flash/write-IOPS friendly).
published version 0.2.4, 5 months agoReplace substring (all lines) between comments in a file.
published version 0.1.5, 5 months agoReplace file contents if file does not already contain the same content.
published version 0.1.4, 5 months agoGet data from JSON file with helpful console.error messages on error, then: exit, throw or return default data.
published version 0.1.2, 7 months agoRead file without comments (lines starting with #) - 168 bytes
published version 0.1.3, 7 months agoAn alternative to path.join() that prevents unanticipated .. directory access due to user-input but allows .. access done programmatically and intentionally.
published version 0.1.2, 7 months agoTiny 1.7K function pads the cells of a 2D array of strings (table) by column, left/right aligned, optionally formatted, optional headings.
published version 0.2.13, 5 months ago