Introduction

TML is an easy-to-use library for manipulating data in YAML format designed to look like other popular data manipulation modules, ideal for small applications like Discord bots.

Supported Versions:

1.0.7 and above are the only working version of the package. Otherwise, if you add a version like 1.0.6, you will get an error and you will not be able to use the package.

More informations

This app is built with Typescript.
Source code is available here

Getting Started

Important: Don't forget to use 1.0.7 and above.

Set-up a database

Behind the code

Functions

set()

  • "key" is the name of the file which will be generated, it must be a string.
  • "value" is the data which will be stored in the generated file, it can be any type of data.
  • "options/path" is the directory where the generated file will be moved.
  • function ends by returning 'void'

get()

  • "key" is the name of the target file.
  • "options/path" is the directory where the target file exists.
  • function ends by returning the data stored in the file.

delete()

  • "key" is the name of the file which will be deleted.
  • "options/path" is the directory where the target file exists.
  • function ends by returning 'void'

Issues | Bugs

If you discover any bug whether minor or major, please report it on 'github issues'.