https://github.com/oresoftware/vamoot
Immutable objects with just getters/setters
https://github.com/oresoftware/vamoot
getter immutable immutablejs javascript nodejs proxy setter
Last synced: 10 months ago
JSON representation
Immutable objects with just getters/setters
- Host: GitHub
- URL: https://github.com/oresoftware/vamoot
- Owner: ORESoftware
- License: mit
- Created: 2017-07-22T06:44:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-22T21:53:03.000Z (over 7 years ago)
- Last Synced: 2024-10-07T08:20:05.229Z (over 1 year ago)
- Topics: getter, immutable, immutablejs, javascript, nodejs, proxy, setter
- Language: TypeScript
- Size: 17.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Vamoot
A simple stand-in for writable-once Proxy
```js
import {VamootProxy} from 'vamoot';
const v = new VamootProxy();
v.set('foo','bar');
v.get('foo');
v.set('foo', 'star') // error
```