Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/sanketmaru/sort-strings
- Owner: sanketmaru
- License: mit
- Created: 2015-06-02T08:23:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-02T09:20:21.000Z (over 9 years ago)
- Last Synced: 2024-12-04T16:49:39.308Z (23 days ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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