can-set

    1.6.0 • Public • Published

    can-set

    Join the chat at https://gitter.im/canjs/canjs License: MIT npm version Travis build status Greenkeeper badge

    can-set is a utility for comparing sets that are represented by the parameters commonly passed to service requests.

    For example, the set {type: "critical"} might represent all critical todos. It is a superset of the set {type: "critical", due: "today"} which might represent all critical todos due today.

    can-set is useful for building caching and other data-layer optimizations. It can be used in client or server environments. can-connect uses can-set to create data modeling utilities and middleware for the client.

    Play around in this JSBin!

    Documentation

    Read the can-set API docs on CanJS.com.

    Changelog

    See the latest releases on GitHub.

    Contributing

    The contribution guide has information on getting help, reporting bugs, developing locally, and more.

    License

    MIT

    Keywords

    Install

    npm i can-set

    DownloadsWeekly Downloads

    5,208

    Version

    1.6.0

    License

    MIT

    Unpacked Size

    140 kB

    Total Files

    36

    Last publish

    Collaborators

    • phillipskevin
    • justinbmeyer
    • nlundquist
    • matthewp
    • blackmarket
    • chasen
    • bmomberger-bitovi
    • christopherjbaker