Socket
Socket
Sign inDemoInstall

typewiselite

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    typewiselite

comparison for sensible javascript objects


Version published
Weekly downloads
36K
decreased by-1.7%
Maintainers
1
Install size
7.35 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 01 Sep 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc