jostylr / literate-programming-lib

The library component of literate-programming
MIT License
36 stars 3 forks source link

utility dash #26

Closed jostylr closed 7 years ago

jostylr commented 7 years ago

Implement a more general version of the dot command, one that takes in a character as a signal to look for more properties.

For example, instead of - pad, ... for using the lodash function pad, one could have -pad ... which is more natural.

1) Implement the one character looking with a callout to whatever 2) Create the utility object to look through various utility objects for a method to use (lodash, datefns, csv (toCsv and fromCsv), he, ...?)

jostylr commented 7 years ago

done in lib. think it should just be large stuff like lodash and datefns; can do explicit commands for the one or two such as csv-parse, csv-stringify, html-encode, html-decode.