Skip to content

sunitJindal/is-snake-case

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Case

NPM version NPM downloads Build status Test coverage

Verify given string follows snake case naming.

Installation

npm install is-snake-case --save

Usage

var isSnakeCase = require('is-snake-case')

isSnakeCase('foo_bar')       //=> true
isSnakeCase('foobar')        //=> true
isSnakeCase('foo__bar')      //=> false
isSnakeCase('Foo_bar')       //=> false

License

MIT

About

Check if a string follows snake case notation

Resources

Stars

Watchers

Forks

Packages

No packages published