1.0.0 • Published 10 years ago

typewiselite v1.0.0

Weekly downloads
33,620
License
MIT
Repository
github
Last release
10 years ago

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