3.0.0 • Published 3 years ago

datanime v3.0.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 years ago

Datanime

🧐 Animemaker için Datanime dosya biçimi

Example

=>myString->Gülce 🥰
=>myNumber->256
=>myArray->["slm", 571, false, [0], {"test": "ok"}]
=>myObject->{"str": "slm", "num": 571, "bool": false, "arr": [0], "obj": {"test": "ok"}}
=>myBoolean->True
const Datanime = require("datanime");
const datanime = new Datanime({name: "examp.datanime", encoding: "utf8"});

// Typeof
console.log(datanime.kindof("myArray"));

// Find
console.log(datanime.find("myArray"));

// Get
console.log(datanime.get("myArray"));

// Has
console.log(datanime.has("myArray"));

Syntax

=>myKey->myValue