https://github.com/canjs/can-define
Observable properties
https://github.com/canjs/can-define
Last synced: about 1 year ago
JSON representation
Observable properties
- Host: GitHub
- URL: https://github.com/canjs/can-define
- Owner: canjs
- License: mit
- Created: 2015-12-28T21:13:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T21:33:11.000Z (over 3 years ago)
- Last Synced: 2025-04-17T18:17:17.394Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://canjs.com/doc/can-define.html
- Size: 1.77 MB
- Stars: 15
- Watchers: 19
- Forks: 7
- Open Issues: 38
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# can-define
[](https://www.bitovi.com/community/slack?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://forums.bitovi.com/?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://github.com/canjs/can-define/blob/master/LICENSE)
[](https://www.npmjs.com/package/can-define)
[](https://travis-ci.org/canjs/can-define)
[](https://greenkeeper.io/)
Add observable properties, type conversion, and getter/setter logic to your constructor prototypes.
## Documentation
Read the [can-define API docs on CanJS.com](https://canjs.com/doc/can-define.html).
## Changelog
See the [latest releases on GitHub](https://github.com/canjs/can-define/releases).
## Contributing
The [contribution guide](https://github.com/canjs/can-define/blob/master/CONTRIBUTING.md) has information on getting help, reporting bugs, developing locally, and more.
## License
[MIT](https://github.com/canjs/can-define/blob/master/LICENSE)