Core is written with es7 and have to be transpilled.
First:
npm install --save @devcubyn/core
And let's go !
// all dir can be required
import <xx> from '@devcubyn/core/<dir>'
// example:
import transform from '@devcubyn/core/diacritics'
transform('cubYn');
-
to use logger you must specify a global LOG_PATH
-
requireAll
require all .js and .json files only and doesn't return exported vars
Get the carrier name or url for a given trackingNumber.
Convert collections to xls, csv, ...
Get the iso code for a country (work only for English and French). Translations: fr/en translations for ISO codes (AC, IC, AN added for legacy purpose)
Perform some transformation on string to do things like "deep" string comparation.
Reusable errors between projects.
Flatten Object or Array.
Have something to log ? Just require me !
Tired of the lack of support for promises by Express shoot and list do it and more.
Reusable utility through various projects
Parsers for .xls, .xlsx, .ods, and .csv files.
Just require the whole directory.
Abstraction for AWS S3 and s3fs with some utils.
Some reusable filters (displayName, ...).