The first line of the code snippet in the “Usage” (instructions) section of the README.md file of this repository state that the imported function is named mdTable2json as can be seen below; when in reality, the name of this particular function is mdTbl2json.
import { mdTable2json } from '@openinf/util-md-table';
I have struggled with deciding whether it makes sense to abbreviate or not, as we still have no style guide dictating whether abbreviations like this are acceptable but should be relatively easy to fix.
The rationale for tbl is that it is a very commonly-used way of abbreviating “table” especially in Visual Basic style guides, which many users of this particular module would hopefully appreciate.
The first line of the code snippet in the “Usage” (instructions) section of the
README.mdfile of this repository state that the imported function is namedmdTable2jsonas can be seen below; when in reality, the name of this particular function ismdTbl2json.I have struggled with deciding whether it makes sense to abbreviate or not, as we still have no style guide dictating whether abbreviations like this are acceptable but should be relatively easy to fix.
The rationale for
tblis that it is a very commonly-used way of abbreviating “table” especially in Visual Basic style guides, which many users of this particular module would hopefully appreciate.