1.0.6 • Published 7 years ago

apjson v1.0.6

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

why?

why

install

npm install apjson

how to use?

const Apjson = require("apjson");
const jsonFile = new Apjson("example.json");

jsonFile.append({title: "hello, world"});

jsonFile.append({
    title: "test1",
    time: "20:49",
});

jsonFile.close();

new Apjson(path, space)

parametertypedefault
pathstringnull
spacenumber2

Apjson.prototype.append(item)

parametertype
itemobject

append stringified object

Apjson.prototype.close()

when you are not adding more, close the writable stream.

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago