Skip to content

About

Whenever anyone calls something an [adjective]-ass [noun], move the hyphen one word to the right.

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

XKCD 37

Whenever anyone calls something an [adjective]-ass [noun], move the hyphen one word to the right.

My hobby: Whenever anyone calls something an [adjective]-ass [noun], I mentally move the hyphen one word to the right.

Installation

$ npm install xkcd-37

Usage

var xkcd37 = require('xkcd-37')

xkcd37('Man, that\'s a sweet-ass car')
//=> 'Man, that\'s a sweet ass-car'

Advanced Usage

Use a double backslash to not parse that part of the string.

var xkcd37 = require('xkcd-37')

xkcd37('Man, that\'s a sweet\\-ass car')
//=> 'Man, that\'s a sweet-ass car'

License

MIT

About

Whenever anyone calls something an [adjective]-ass [noun], move the hyphen one word to the right.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages