underscore-string

Wraps underscore.string’s string manipulation functions for use in Atom


License
ISC
Install
apm install underscore-string@0.1.2

Documentation

atom-underscore-string Build Status

Wraps underscore.string’s string manipulation functions for use in Atom.

Getting Started

Install the package with apm install underscore-string

Keybindings

There are no default keybindings but you can add your own by editing your keymap.cson file, eg:

'atom-workspace':
  'ctrl-alt-s': 'underscore-string:slugify'

API

The following underscore.string methods are currently available:

  • camelize
  • capitalize
  • chars
  • classify
  • clean
  • cleanDiacritics
  • dasherize
  • decapitalize
  • escapeHTML
  • escapeRegExp
  • humanize
  • lines
  • ltrim
  • pred
  • quote
  • reverse
  • rtrim
  • slugify
  • stripTags
  • succ
  • swapCase
  • titleize
  • toNumber
  • trim
  • underscored
  • unescapeHTML
  • unquote
  • word