xkcd-37
Whenever anyone calls something an [adjective]-ass [noun], move the hyphen one word to the right.
Last updated 4 years ago by goto-bus-stop .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install xkcd-37 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.0                                ...           latest (4 years ago)

2 Versions

  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 4
Dependencies (0)
None
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |