Skip to content

azer/variable-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

variable-name

Return a variable name from given string

See also: to-class-name

Install

$ npm install variable-name

Usage

variableName = require('variable-name')

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

It anglicizes special characters automatically;

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

About

Return a valid variable name from given string

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published