1.1.0 • Published 7 years ago

to-bat-case v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

to-bat-case Build Status

Convert a string to ǝsɐƆ ʇɐ𐐒. 🦇

Example: Bat_Case!¡ǝsɐƆ‾ʇɐ𐐒

Installation

$ npm install to-bat-case

Example

const toBatCase = require('to-bat-case')

toBatCase('NA NA NA NA NA NA NA NA NA NA NA NA NA NA')
//=> '∀N ∀N ∀N ∀N ∀N ∀N ∀N ∀N ∀N ∀N ∀N ∀N ∀N ∀N'

toBatCase('Bat_Case!')
//=> '¡ǝsɐƆ‾ʇɐ𐐒'

toBatCase('NA NA NA NA NA NA NA NA NA NA NA NA NA NA', false)
//=> 'N∀ N∀ N∀ N∀ N∀ N∀ N∀ N∀ N∀ N∀ N∀ N∀ N∀ N∀'

toBatCase('Bat_Case!', false)
//=> '𐐒ɐʇ‾Ɔɐsǝ¡'

API

toBatCase(input, noRevert)

Returns the input converted to bat case.

input

Type: string

noRevert

Type: bool

Default: false

Inspired by

The series of case helpers and this tweet.

1.1.0

7 years ago

1.0.0

7 years ago