Google app script library that lets you use google sheet like a key value pair database.
ProjectId:Mh3fuMDJ6YrJ-WBuWKeMtlj6333tZbdFa
Go to Resources > Libraries and add the above library using the above project id.
var sid = "1Y6N-jNCF23TyE8WbV8FEEfUcdDDCw5IlvNt9wCOwg9w";
db = new SheetDb(sid,"SheetName");
let value = {"first_name":"sujit","last_name":"maharjan"};
db.set(value);
let value = db.get({"first_name":"sujit"});
db.update({"first_name":"sumit"},{"first_name"":"sujit"});
db.removeRows({"first_name":"sujit"});