convert-to-ecmascript-compatible-varname

v0.1.5
Given a string of dash-delimited words, return a similar version of the string, but which is camel-cased and otherwise stripped of special characters, whitespace, etc. so that it is usable as an ECMAScript variable.
camel-case ecmascript camelcase javascript-variable var

test

echo "Error: no test specified" && exit 1
npm i convert-to-ecmascript-compatible-varname

Metadata

  • MIT
  • Whatever
  • Mike McNeil
  • released 12/23/2015

Downloads