{"name":"typewise","version":"0.8.2","description":"Typewise-structured sorting for arbitrarily complex data structures","main":"typewise.js","dependencies":{"bops":"~0.1","buffertools":"~2.1"},"optionalDependencies":{"buffertools":"~2.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":"3ef71f256097034d219aa819cd2645e6a9154b5b","bugs":{"url":"https://github.com/deanlandolt/typewise/issues"},"homepage":"https://github.com/deanlandolt/typewise","_id":"typewise@0.8.2","_shasum":"6c8a27a7fd3bd7a0a7647beeb9eb8a6aaf377c1b","_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":"6c8a27a7fd3bd7a0a7647beeb9eb8a6aaf377c1b","tarball":"http://registry-npm.ywwl.com/typewise/download/typewise-0.8.2.tgz","integrity":"sha512-3B+f276eQPUk91hhhuilirb++a0uHOcnOF+KQ4NOA4S1BWD6bFiybD+FmBSjJ7wlxWs6AysH7Ur2wCCz8fbwtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFS3Cr1MclhvPALhUPcDvDfGL7FVRUmCltiURzWJnXgpAiEAsaecee4VzVpPzawt0LALXlKbwzAG8GV1VEUeTJOEaiE="}],"size":5852,"noattachment":false,"key":"/typewise/-/typewise-0.8.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":1426687376554,"_cnpm_publish_time":1426687376554,"dist-tags":{"latest":"1.0.3"}}