@mandoo_/lunar.js
v1.0.18
Published
Short and Powerful Code
Downloads
32
Maintainers
Readme
✨ Lunar.js
" Short and Strong Code "
Github | Npm
Install
npm i @mandoo_/lunar.js
Use
Javascript
const lunarJs = require("@mandoo_/lunar.js");
const lunar = new lunarJs.Store();
function testFunction() {
console.log("Hello, World!");
}
lunar.save(testFunction); // save Function
const testFunction2 = lunar.load("testFunction"); // load Function
testFunction2(); // run Function
lunar.delete("testFunction"); // delete Function
Typescript
import * as lunarJs from "@mandoo_/lunar.js";
const lunar = new lunarJs.Store();
// ...
Api
save {function}
| Save your function.load {name}
| Load your function.edit {name} {new function}
| Edit your function.delete {name}
| Delete your function.list
| Return Function List.
download
| Download Your Function.