Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pawsong/atmemo


https://github.com/pawsong/atmemo

Last synced: about 5 hours ago
JSON representation

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