Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pawsong/atmemo
https://github.com/pawsong/atmemo
Last synced: about 5 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/pawsong/atmemo
- Owner: pawsong
- Created: 2020-03-29T14:09:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T22:04:04.000Z (almost 2 years ago)
- Last Synced: 2024-11-13T08:56:41.392Z (4 days ago)
- Language: TypeScript
- Size: 846 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# atmemo
decorator for getter lazy evaluation
## Example
```typescript
import memo from 'atmemo'class MyModule {
@memo get field() {
return {}
}
}const mod = new MyModule()
assert(mod.field === mod.field)
```## License
MIT