const-name
v0.1.0
Published
Infer variable name from call or singular form from JS expression
Downloads
10
Readme
Const Name
Infer variable name from call or singular form from JS expression.
Main exports: getVariableNameFromCallExpresion()
, getSingularFormFromExpression()
.
Look at tests for examples.
You can integrate it in your extension or code generator.