{"name":"typewise","version":"0.8.1","description":"Typewise-structured sorting for arbitrarily complex data structures","main":"typewise.js","dependencies":{"bops":"~0.1","buffertools":"~1"},"optionalDependencies":{"buffertools":"~1"},"devDependencies":{"tape":"~1.0"},"scripts":{"test":"tape test"},"repository":{"type":"git","url":"https://github.com/deanlandolt/typewise.git"},"keywords":["sort","order","collation","leveldb","indexeddb","keyvalue"],"author":{"name":"Dean Landolt","email":"dean@deanlandolt.com"},"license":"MIT","testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"a88946cf3a731b1f2f8a08ee62eae11995d3570e","bugs":{"url":"https://github.com/deanlandolt/typewise/issues"},"homepage":"https://github.com/deanlandolt/typewise","_id":"typewise@0.8.1","_shasum":"58cc1172985930752543fc879a0e5918390f3ff6","_from":".","_npmVersion":"2.7.0","_nodeVersion":"0.10.35","_npmUser":{"name":"deanlandolt","email":"dean@deanlandolt.com"},"maintainers":[{"name":"deanlandolt","email":"dean@deanlandolt.com"}],"dist":{"shasum":"58cc1172985930752543fc879a0e5918390f3ff6","tarball":"http://registry-npm.ywwl.com/typewise/download/typewise-0.8.1.tgz","integrity":"sha512-+G8mNR/P4W6UKN8TAsV4eJ/SaRGjOh9khOrZlhgICgtQnklBT4L+HEMg2nInV6Sq1t3A6nf+UikWXcavjzHbKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCx6i4VjG/HxjsFN8PRiFOpKOyStU2SPufT10QnCmJAbQIhALruCHDJFFd7YFpRkYaTXai6FD51+O22SyAFhi9CIaZB"}],"size":5852,"noattachment":false,"key":"/typewise/-/typewise-0.8.1.tgz"},"directories":{},"readme":"# typewise\n\nTypewise structured sorting for arbirarily complex data structures.\n\n[![build status](https://travis-ci.org/deanlandolt/typewise.svg?branch=master)](https://travis-ci.org/deanlandolt/typewise)\n\nThis library defines and implements the collation used by the [bytewise](https://github.com/deanlandolt/bytewise-core) encoding library.\n\nNOTE: the core typewise sorting functionality has been completely rewritten and moved to [typewise-core](https://github.com/deanlandolt/typewise-core). This library extends the data structures and comparators available to support more exotic types like ordered maps and sets, and shortlex-ordered tuples and records.\n\n\n## Type system\n\nIn order to properly express the rules for sorting and equality for a wide range of structures `typewise` defines a simple type system for controlling these properties across a range of data structures.\n\nA `typewise` type profile can be provide when creating a bytewise codec to control encoding and decoding behavior for specific types. Types may also contain high and low sentinal values that can be used to create `range` types which may be impossible be instantiate directly as instances.\n\nFor example, dates have no valid infinatary instances, but something analogous to the \"minimum\" and \"maximum\" dates is a useful construct for defining date intervals.\n\n\n## Issues\n\nIssues should be reported [here](https://github.com/deanlandolt/bytewise/issues).\n\n\n## License\n\n[MIT](http://deanlandolt.mit-license.org/)\n","publish_time":1426477667872,"_cnpm_publish_time":1426477667872,"dist-tags":{"latest":"1.0.3"}}