{"name":"typewise","version":"0.6.0","description":"Typewise structured sorting for arbirarily complex data structures","main":"typewise.js","dependencies":{"es6-shim":"~0.8","bops":"~0.0","ses":"~0.0","esprima":"~1","escodegen":"~0.0","buffertools":"~1"},"optionalDependencies":{"ses":"~0.0","esprima":"~1","escodegen":"~0.0","buffertools":"~1"},"browser":{"./ses":false},"devDependencies":{"tape":"~1.0.4"},"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","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"]},"bugs":{"url":"https://github.com/deanlandolt/typewise/issues"},"_id":"typewise@0.6.0","dist":{"shasum":"7f1c00c4edd7a8e48cf28928c3cc369ba61edc3d","tarball":"http://registry-npm.ywwl.com/typewise/download/typewise-0.6.0.tgz","integrity":"sha512-ko1fTg/LKCTcBUToQx2W4pW7DT8Y2SHKOH9W1QouzSYaSRAJ+GXd/fm0zcSRHHscjcRVlUD0WF9mslEfMHRqqA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlvEKEig1DFQ8kVxAkRYxMZkiyiHre3mPO0QyV1TkPmgIgL54NW7enaFq/C5/6V6L4k+MPnL84xvrjI6ZqQhgapHM="}],"size":6358,"noattachment":false,"key":"/typewise/-/typewise-0.6.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":1379967309355,"_cnpm_publish_time":1379967309355,"dist-tags":{"latest":"1.0.3"}}