Options
All
  • Public
  • Public/Protected
  • All
Menu

mylas

Mylas

npm install size npm bundle size (scoped) npm bundle size (scoped) dependencie count GitHub npm (scoped) GitHub package.json version node-current (scoped) node-lts (scoped)
Mylas is a npm package that makes the loading and storing of data from fs easy and reliable. And it supports multithreading.

Installation

Install Mylas from NPM

npm i mylas
// Or
yarn add mylas

Examples

Synchronous functions:

const Mylas = require("mylas");

// Save string to file
Mylas.saveS("./text.txt", "Hello world!");

// Load string from file
const loadedData = Mylas.loadS("./text.txt");

// Save JSON to file
JSON.saveS("./text.json", [{test: "Hello world"}]);

// Load JSON from file
const loadedJSON = JSON.loadS("./text.json");

More examples

Features

All features are listed at the Features page.
More documentation at mylas.js.org

Contributing

We would love more contributors! To start contributing read our Contributing page.

Supported Versions

Check for supported versions at the security policy.

Generated using TypeDoc