node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

toidentifier

toidentifier

build status code coverage code style styled with prettier made with lass license

Convert a string of words to a JavaScript identifier

Table of Contents

Install

npm:

npm install toidentifier

yarn:

yarn add toidentifier

Usage

const toIdentifier = require('toidentifier');
 
console.log(toIdentifier('Bad Request'));
// outputs "BadRequest"

Contributors

Name Website
Douglas Christopher Wilson
Nick Baugh http://niftylettuce.com/

License

MIT © Douglas Christopher Wilson