timecapsule.js

1.0.0 • Public • Published

Welcome to timecapsule.js 👋

Version Documentation Maintenance License: MIT Twitter: _Kotlia

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.

Readme

Keywords

none

Package Sidebar

Install

npm i timecapsule.js

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

6.13 kB

Total Files

10

Last publish

Collaborators

  • kotlia