{"name":"typewise","version":"1.0.2","description":"Typewise-structured sorting for arbitrarily complex data structures","main":"index.js","scripts":{"test":"tape test | faucet"},"repository":{"type":"git","url":"https://github.com/deanlandolt/typewise.git"},"keywords":["typewise","types","compare","sort","order","collation","complex","structures","leveldb","indexeddb","keyvalue"],"author":{"name":"Dean Landolt","email":"dean@deanlandolt.com"},"license":"MIT","bugs":{"url":"https://github.com/deanlandolt/bytewise/issues"},"homepage":"https://github.com/deanlandolt/typewise","dependencies":{"typewise-core":"^1.1"},"devDependencies":{"faucet":"0.0.1","tape":"^1.0"},"gitHead":"6d188a4ae6dae81a9f78a497decec16562179b9a","_id":"typewise@1.0.2","_shasum":"2a7e98be33416492844148a2264359cbb9fef1c1","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"deanlandolt","email":"dean@deanlandolt.com"},"maintainers":[{"name":"deanlandolt","email":"dean@deanlandolt.com"}],"dist":{"shasum":"2a7e98be33416492844148a2264359cbb9fef1c1","tarball":"http://registry-npm.ywwl.com/typewise/download/typewise-1.0.2.tgz","integrity":"sha512-v1HlzYM2YuHslCGf5/2epRfvos0AEM+vZ+Z+4Rq0aJYbijenYg5oHFg+Hwte7dF1wSSVgIbcSXxErhSTVIK7TA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDztFikhyxeXsKq5I6oJaerfVOdc6kI8J7z4haM6zElqgIgFXunKla/nd87i9MT5l6ToAJFRpFlx0otp9x1CKxVYB4="}],"size":2175,"noattachment":false,"key":"/typewise/-/typewise-1.0.2.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":1431595330112,"_cnpm_publish_time":1431595330112,"dist-tags":{"latest":"1.0.3"}}