1.0.6 • Published 9 years ago

alphabetize v1.0.6

Weekly downloads
3
License
MIT
Repository
-
Last release
9 years ago

alphabetize

browser support

sort a string alphabeticallly

usage

with node

var alph = require('alphabetize');

console.log('i am a happy string! maybe the happiest?');
//-> 'a am happiest happy i maybe string the'

or from the command line

> alphabetize file.txt
##-> a file of test text
> echo "dogs vs cats" | alphabetize
##-> cats dogs vs

or in the browser

<script src="alphabetize.js"></script>
<script>
var txt = document.getElementById('txt');
txt.textContent = alphabetize(txt.textContent);
</script>

license

MIT

1.0.6

9 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago