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

https://github.com/pawsong/atmemo


https://github.com/pawsong/atmemo

Last synced: 4 months 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