typewiselite

1.0.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    192,484
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    192,484
  • 0.7.1
    2
  • 0.7.0
    2

Package Sidebar

Install

npm i typewiselite

Weekly Downloads

31,530

Version

1.0.0

License

MIT

Last publish

Collaborators

  • dominictarr