mylas
    TypeScript icon, indicating that this package has built-in type declarations

    2.0.2 • Public • Published

    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.

    Install

    npm i mylas

    DownloadsWeekly Downloads

    3,040

    Version

    2.0.2

    License

    MIT

    Unpacked Size

    33.5 kB

    Total Files

    31

    Last publish

    Collaborators

    • avatar