@mandoo_/lunar.js

1.0.18 • Public • Published

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.

Package Sidebar

Install

npm i @mandoo_/lunar.js

Weekly Downloads

3

Version

1.0.18

License

MIT

Unpacked Size

14.5 kB

Total Files

5

Last publish

Collaborators

  • mandoo_