1.0.0 ā€¢ Published 3 years ago

timecapsule.js v1.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

Make your variables survive reboot

Image from Gyazo

Learn more about this code

import Timecapsule from "timecapsule.js";

Timecapsule.globaloption
    .setLocation("../assets/timecapsule.db")
    .setInterval(500)

new Timecapsule({
    counter: 0
}, import.meta)

setInterval(() => {
    console.log(counter)
    counter++
}, 200)

Install

yarn add timecapsule.js

Author

šŸ‘¤ Kotlia

šŸ¤ Contributing

Contributions, issues and feature requests are welcome!

šŸ“ License

Copyright Ā© 2020 Kotlia. This project is MIT licensed.