liveobject

0.1.7 • Public • Published

LiveObject

A fast way to store objects between sessions.

What is this?

This is a project for updating JSON files live from a variable.

How can I use it?

You just type npm i -s liveobject into the terminal or command prompt. Then you import the package using const {LiveObject} = require("liveobject"). Then, to make a variable you just use let myObject = LiveObject("./Path/To/Json-File-To-Start-From-And-Write-From.json").

When your done your code should look like this:

const { LiveObject } = require("liveobject");

let myObject = LiveObject(
  "./Path/To/Json-File-To-Start-From-And-Write-From.json"
);

The live object is used the same way as a object variable so it is easy to understand.

Package Sidebar

Install

npm i liveobject

Weekly Downloads

1

Version

0.1.7

License

ISC

Unpacked Size

1.65 kB

Total Files

3

Last publish

Collaborators

  • swz-npm