persistent-typescript
Version:
An easy way to have persistent data on the browser and on nodejs
29 lines (18 loc) • 631 B
Markdown
# Persistent
[](https://travis-ci.org/JulienTD/Persistent-TypeScript)
Adds the possibility to have persistent data on the browser and on nodejs.
## Installation
```
npm install persistent-typescript
```
## Usage
Write `@Persistent` on the top of the class you want to save, and that's it, it's saved !
## Plugin
You can write your own plugins to create your proper loader and saver.
[Example right here.](https://github.com/JulienTD/Persistent-TypeScript/tree/dev/example/)
## Testing
```
npm run tests
```
## License
MIT License