README
Self Agency LLC JavaScript developer tools
Includes:
Babel, eslint, Jest, basic dotfiles, and the following helper utilities:
cnv
:_case
: fast-case, @gouch/to-title-case & @queso/kebab-case - convert string to camelCase, kebab-case, PascalCase, Title Case_curly
: curlyquotes - convert straight quotes to curly quotes_date
: Day.js - quick date formatting_encode
: Custom form data serializer - quick form data serializer_hash
: jsSHA - quick string hasher (SHA-512)_md
: md - convert Markdown to HTML_url
: normalize-url - normalize URLs
asyncForEach
: asynchronousforeach - asynchronous forEach (serial/parallel)Bus
: noel - event busdays
: Day.js - date formattingdequal
: dequal - deep equality checkingdevalue
: devalue - decircularize JSONimmutadot
: immutadotis
: typa - type checkingjfn
: Json-Function - SQL-like JSON queriesjssha
: jsSHA - hashing utilitylogger
: consola - console loggerrex
: @areknawo/rex - RegEx builderwretch
: wretch - simplified fetch wrapper
Usage
Browser
import { is, cnv } from '@selfagencyllc/dev-tools'
Node
import { is, cnv } from '@selfagencyllc/dev-tools/entry'
All utilities are available as imports, except for @queso/kebab-case
, curlyquotes
, fast-case
, and md
which are made accessible through a helper function called cnv
that facilitates quick text and date cnversions. Documentation of available cnv
methods here.
Expansion
Additional helpers are available via: