A collection of useful utilities for the browser and node.js environments
some nice utils to use to make own workflows
collection of nice utils
https://linux.die.net/man/2/nice binding for Node.js
Tries to execute a function and discards any error that occurs
https://linux.die.net/man/2/nice binding for Node.js
Common stuff for nice-grpc and nice-grpc-web
https://linux.die.net/man/2/nice binding for Node.js
nice(2) bindings for Node.js
General utilities for plugins to use
Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️
webpack Validation Utils
Utilities for ESLint plugins.
https://linux.die.net/man/2/nice binding for Node.js
Type utilities for working with TypeScript + ESLint together
Utilities for working with TypeScript + ESLint together
Utilities for collecting TSConfigs for linting scenarios.
https://linux.die.net/man/2/nice binding for Node.js
Shared Vitest utility functions
https://linux.die.net/man/2/nice binding for Node.js
https://linux.die.net/man/2/nice binding for Node.js
https://linux.die.net/man/2/nice binding for Node.js
https://linux.die.net/man/2/nice binding for Node.js
https://linux.die.net/man/2/nice binding for Node.js
Load yaml and json config files and make the structures easily available for use in the app.
+rdoc2md+ is a utility for converting Rdoc style documents into markdown. The primary motivation is to make a Hoe gem project more github friendly. Hoe depends on a README.txt file in Rdoc format. Github expects a README.md file to display nicely on the webpage. This utility lets you make the .txt file the master and autogenerate the .md version without Repeating Yourself. Incidentally, if you are reading this on github, this README was produced by +rdoc2md+. Kinda meta, eh?
Generate a 4 word password from words of size 3-8 characters, with frequencies in the 30th-60th percentile. This range gives a nice set of uncommon but not completely alien words. $ chbs generate --verbose -W 3..8 -P 30..60 Corpus size: 6396 candidate words of 33075 total Entropy: 48 bits (2^48 = 281474976710656) Years to guess at 1000 guesses/sec: 8926 magnate-thermal-sandbank-augur With the --verbose flag, the utility will calculate a time-to-guess based on a completely arbitrary 1000 guesses/sec. If you'd like a more secure password, either relax the various filtering rules (-W and -P), add more words to the password, or use a larger corpus. By default we use the American TV Shows & Scripts corpus taken from Wiktionary. Others provided: * Project Gutenberg 2005 corpus taken from Wiktionary. * 1 of every 7 of the top 60000 lemmas from wordfrequency.info (6900 actual lemmas after processing) See http://xkcd.com/936/ for the genesis of the idea. Data sources: http://en.wiktionary.org/wiki/Wiktionary:Frequency_lists http://wordfrequency.info/
CommandSet is a user interface framework. Its focus is a DSL for defining commands, much like Rake or RSpec. A default readline based terminal interpreter (complete with context sensitive tab completion, and the amenities of readline: history editing, etc) is included. It could very well be adapted to interact with CGI or a GUI - both are planned. CommandSet has a lot of very nice features. First is the domain-specific language for defining commands and sets of commands. Those sets can further be neatly composed into larger interfaces, so that useful or standard commands can be resued. Optional application modes, much like Cisco's IOS, with a little bit more flexibility. Arguments have their own sub-language, that allows them to provide interface hints (like tab completion) as well as input validation. On the output side of things, CommandSet has a very flexible output capturing mechanism, which generates a tree of data as it's generated, even capturing writes to multiple places at once (even from multiple threads) and keeping everything straight. Methods that normally write to stdout are interposed and fed into the tree, so you can hack in existing scripts with minimal adjustment. The final output can be presented to the user in a number of formats, including contextual coloring and indentation, or even progress hashes. XML is also provided, although it needs some work. Templates are on the way. While you're developing your application, you might find the record and playback utilities useful. cmdset-record will start up with your defaults for your command set, and spit out an interaction script. Then you can replay the script against the live set with cmdset-playback. Great for ad hoc testing, usability surveys and general demos.
No description provided.
No description provided.
No description provided.