27 packages
angular-api-factory
Gets an object literal with a desired API's structure and based on it, creates a well defined interface to handle ajax calls ($http).
clean-special-chars
Converts accented letters to its cleaned form like 'Ã' to 'A', 'ç' to 'c', '&!*' to '', etc. All spaces will be converted to '-' and the text is returned in Lower Case
cliss
CLI Simple, Stupid. Automatic discovery of parameters names. Provides an easy and minimal setup by passing in only a function reference without the need of declaring all expected options names or create a help section by hand. Support to sync / async. Sup
convert-excel-to-json
Convert Excel to JSON
data-query
Query / Filter a set of Object Literal (‘JSON’), that could be an Array or Object Literal.
for-each-property
Executes a callback for each property found on a object, with options regarding enumerability (enumerable or non-enumerable) and ownership (inherited or only own properties). It excludes built-in properties from Object and Function prototypes by default,
for-each-property-deep
Executes a callback for each property found on a object, recursively on nested properties, with options regarding enumerability (enumerable or non-enumerable) and ownership (inherited or only own properties). It excludes built-in properties from Object an
image-data-uri
Library to easily decode/encode Data URI images
inspect-function
Inspects a function and returns informations about it (e.g. name, parameters names, parameters and default values, signature)
inspect-parameters-declaration
Inspects function's parameters declaration and returns information about it (e.g. names, default values, if needs destructuring, destructured parameters names and default values)
inspect-property
Inspects a Property and returns useful informations about it (e.g. nested properties, function inspection, property descriptor, value, type, constructor)
magic-bins
Generates automatically CLI interfaces for any module.
magicli
Automagically generates command-line interfaces (CLI) for any module. Expected options and help sections are created automatically based on parameters names, with support to async. It can be installed globally, in order to *execute* any module, or .js fil
make-object-path
Creates an object structure based on a Path defined in an Array structure or String written in dot notation, e.g. 'objParent.objChild.objDeep', or with any delimiter that can be defined as a parameter, e.g. 'objParent|objChild|objDeep'. It can return a ne
mongo-client-connect
It reuses the same connection objects (creating only one connection pool per connectionURI) and collection instances, avoiding the creation of many, unnecessary, connections pools to a same connectionURI. Also provides an easy way to specify N collections
morph-text
Multiple replaces on String (text) based on a predefined rules defined as a parameter. Useful in cases where a String template is being used. Also it can be a lightweight solution for HTML templates.
oas-client
OpenAPI client generator. Creates at runtime a fully functional api client based on an OpenAPI Specification. Providing automatic methods creation parameters definitions and validations.
object-to-arguments
Transforms object's properties into an array of arguments tailored for a specific function, respecting the expected order and handling destructuring and rest parameters when needed.
parse-s3-bucket-key
Parse Bucket and Key from an S3 object link.
pipe-functions
Pipe functions in a Unix-like style. It supports Promises (async) anywhere in the pipeline and every step will be executed sequentially. The return (resolve in case of Promises) of each function will be passed in as an argument to the next one
regexp-from-string
Creates RegExp from a string, e.g. `/string/gi` and provides some utils to work with RegExp as strings, for example, to extract multi RegExps defined within a same string, e.g. `/Rock/, /and/, /roll/i`.
request-api-factory
API Factory using 'request-promise' module as engine
s3-csv-to-json
Converts AWS S3 files from CSV to JSON lines via stream with support to gzip for both input and output. Ready to be used as a Node.js module, as a Lambda or via CLI.
s3-read-file-stream
Reads a file from S3 via stream using AWS SDK and prints its content to stdout, or to another writable stream. CLI ready + support to gzip. Useful to quickly inspect large files without the need to download it entirely.
split-skip
Splits a String into an Array of substrings with the option to skip some cases where the separator is found, based on some truthy condition.