1.0.1 • Published 6 years ago

check-camelcase v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

If you need to check if an string is camelCase you are in the right place.

Install

$ npm install check-camelcase

Usage

const checkCamelcase = require('check-camelcase');

console.log(checkCamelcase('camelCase'));
// => true

console.log(checkCamelcase('snake_case'));
// => false

console.log(checkCamelcase('Pascalcase'));
// => true

console.log(checkCamelcase('Darwin_case'));
// => true

console.log(checkCamelcase('string'));
// => false

API

checkCamelcase(string)

Check if an string is camelCase

Type: boolean

string

Type: string

Related

Team

Carlos Abraham
Carlos Abraham

License

MIT License © Carlos Abraham