# can-set

> Set logic for CanJS

Latest version **1.6.0** (published 2018-07-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install can-set
pnpm add can-set
yarn add can-set
bun add can-set
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.6.0 |
| Published | 2018-07-05 |
| First published | 2015-04-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 136.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Bitovi |
| Maintainers | blackmarket, bmomberger-bitovi, christopherjbaker, ilyavf, justinbmeyer, matthewp, nlundquist, phillipskevin, sinjhin, stin13 |
| Keywords | canjs |

## Links

- npm: https://www.npmjs.com/package/can-set
- Repository: https://github.com/canjs/can-set
- Issues: https://github.com/canjs/can-set/issues
- npm.io page: https://npm.io/package/can-set

## Dependencies (3)

- [can-util](https://npm.io/package/can-util.md) ^3.9.0
- [can-assign](https://npm.io/package/can-assign.md) ^1.1.1
- [can-namespace](https://npm.io/package/can-namespace.md) ^1.0.0

## Recent versions

- 1.6.0 (latest) — 2018-07-05
- 1.3.0-pre.0 (pre) — 2017-06-14
- 1.5.2 — 2018-02-16
- 1.5.1 — 2018-01-17
- 1.5.0 — 2018-01-04
- 1.4.0 — 2017-12-18
- 1.3.3 — 2017-11-01
- 1.3.2 — 2017-07-10
- 1.3.0 — 2017-06-23
- 1.2.0 — 2017-04-13
- 1.1.0 — 2017-03-10
- 1.0.3 — 2016-12-15
- 1.0.2 — 2016-11-10
- 1.0.1 — 2016-10-27
- 1.0.0 — 2016-10-14
- … 31 more at https://npm.io/package/can-set/versions

## README

# can-set

[![Join the chat at https://gitter.im/canjs/canjs](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/canjs/canjs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/canjs/can-set/blob/master/LICENSE)
[![npm version](https://badge.fury.io/js/can-set.svg)](https://www.npmjs.com/package/can-set)
[![Travis build status](https://travis-ci.org/canjs/can-set.svg?branch=master)](https://travis-ci.org/canjs/can-set)
[![Greenkeeper badge](https://badges.greenkeeper.io/canjs/can-set.svg)](https://greenkeeper.io/)

__can-set__ is a utility for comparing [sets](http://en.wikipedia.org/wiki/Set_theory#Basic_concepts_and_notation) 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](http://connect.canjs.com) uses can-set to create data modeling
utilities and middleware for the client.

[Play around in this JSBin!](https://justinbmeyer.jsbin.com/faveda/4/edit?js,console)

## Documentation

Read the [can-set API docs on CanJS.com](https://canjs.com/doc/can-set.html).

## Changelog

See the [latest releases on GitHub](https://github.com/canjs/can-set/releases).

## Contributing

The [contribution guide](https://github.com/canjs/can-set/blob/master/CONTRIBUTING.md) has information on getting help, reporting bugs, developing locally, and more.

## License

[MIT](https://github.com/canjs/can-set/blob/master/LICENSE)

---
_Source: https://npm.io/package/can-set · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
