Socket
Socket
Sign inDemoInstall

mylas

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mylas

Mylas is a npm package to make the loading and storing of data from fs easy and reliable.


Version published
Weekly downloads
482K
decreased by-22.14%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 07 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc