An open API service indexing awesome lists of open source software.

https://github.com/methodgrab/atom-underscore-string

Wraps underscore.string’s string manipulation functions for use in Atom
https://github.com/methodgrab/atom-underscore-string

atom atom-editor atom-package

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# atom-underscore-string [![Build Status](https://travis-ci.org/MethodGrab/atom-underscore-string.svg?branch=master)](https://travis-ci.org/MethodGrab/atom-underscore-string)

[![apm](https://img.shields.io/apm/v/underscore-string)](https://atom.io/packages/underscore-string)

> Wraps [underscore.string](https://github.com/epeli/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:

```cson
'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`