{"name":"typewise","version":"0.5.0","description":"Typewise structured sorting for arbirarily complex data structures","main":"typewise.js","dependencies":{"es6-shim":"~0.8","ses":"*","esprima":"~1","escodegen":"*","buffertools":"*"},"optionalDependencies":{"ses":"*","esprima":"~1","escodegen":"*","buffertools":"*"},"devDependencies":{"tap":"*"},"scripts":{"test":"tap test/"},"repository":{"type":"git","url":"https://github.com/deanlandolt/typewise.git"},"keywords":["sort","order","collation","leveldb","indexeddb","couchdb"],"author":{"name":"Dean Landolt","email":"dean@deanlandolt.com"},"license":"MIT","bugs":{"url":"https://github.com/deanlandolt/typewise/issues"},"_id":"typewise@0.5.0","dist":{"shasum":"20e7df605acd6d78e59bdda04202404a3ea88983","tarball":"http://registry-npm.ywwl.com/typewise/download/typewise-0.5.0.tgz","integrity":"sha512-6QYh49KOJsBKEARIHhWkkzIDvnRoWqj8rPuFOfskLR/icZrBhgaq/Nf00GO4lGJCHJXOHq2pKlu3hcqooRkc8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDaXihdjAz5MEDCEiFs6io6W/lIEJ8b5hPkIiZ1+VqtvAiALHU8fz4FgmLf525cE467ilCVe9gS+/+hodBnjoco0JA=="}],"size":4829,"noattachment":false,"key":"/typewise/-/typewise-0.5.0.tgz"},"_from":"./","_npmVersion":"1.2.30","_npmUser":{"name":"deanlandolt","email":"dean@deanlandolt.com"},"maintainers":[{"name":"deanlandolt","email":"dean@deanlandolt.com"}],"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":1371805753136,"_cnpm_publish_time":1371805753136,"dist-tags":{"latest":"1.0.3"}}