Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sanketmaru/sort-strings

Sort an array of strings by length.
https://github.com/sanketmaru/sort-strings

Last synced: 4 days ago
JSON representation

Sort an array of strings by length.

Awesome Lists containing this project

README

        

# sort-strings [![NPM version][npm-image]][npm-url] [![Build Status](https://travis-ci.org/sanketmaru/sort-strings.svg)](https://travis-ci.org/sanketmaru/sort-strings)

> Sort an array of strings by string length

## Install

```sh
$ npm install --save sort-strings
```

## Usage

### JavaScript

```js
var sort-strings = require('sort-strings');

sort-strings('Rainbow');
```

### Command Line reference

```sh
$ npm install --global sort-strings
$ sort-strings --help
```

## Run Test
```sh
npm test
```

## Contribute or Report Issue
For bugs and feature requests, [please create an issue][issue-url].

## License

MIT © [Sanket Maru](sanketmaru.github.io)

[issue-url]: https://github.com/sanketmaru/sort-strings/issues
[npm-url]: https://npmjs.org/package/sort-strings
[npm-image]: https://badge.fury.io/js/sort-strings.svg
[travis-url]: https://travis-ci.org/sanketmaru/sort-strings
[travis-image]: https://travis-ci.org/sanketmaru/sort-strings.svg?branch=master
[daviddm-url]: https://david-dm.org/sanketmaru/sort-strings.svg?theme=shields.io
[daviddm-image]: https://david-dm.org/sanketmaru/sort-strings