variable-name

Generate a variable name from given string

npm install variable-name
4 downloads in the last week
9 downloads in the last month

variable-name

Generate a variable name from given string

Install

$ npm install variable-name

Usage

variableName = require('variable-name')

variableName('hello world')
// => helloWorld

It anglicizes special characters automatically;

variableName('testing âçığöşüñ and ÂÇİĞÖŞÜÑ');
// => testingAcigosunAndAcigosun
npm loves you