to-bat-case

1.1.0 • Public • Published

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.

Package Sidebar

Install

npm i to-bat-case

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • sirlisko