typewiselite
comparison for sensible javascript objects
Last updated 12 years ago by dominictarr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install typewiselite 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (12 years ago)

3 Versions

  • 1.0.0                                ...           12 years ago
  • 0.7.1                                ...           12 years ago
  • 0.7.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |