typewiselite

v0.7.0
Typewise structured sorting for arbirarily complex data structures
sort order collation leveldb indexeddb couchdb

typewise

typewiselite

compare sensible js data types

this is a fork of typewise

example


var compare = require('typewiselite')

ARRAY.sort(compare)

ordering

  • null
  • boolean (false < true)
  • numbers
  • buffers
  • strings
  • object (!will throw)
  • arrays
  • undefined

ordering is the same as bytewise except there is no support for {} objects.

License

MIT

Metadata

  • MIT
  • Whatever
  • Dean Landolt
  • released 4/16/2014

Downloads

Maintainers