npm i instagram-notes
const Notes = require("instagram-notes");
const client = new Notes("<insert-cookie-here>");
(async () => {
let response = await client.getNotes();
console.log(response);
})();
(async () => {
let response = await client.createNote("hello");
console.log(response);
})();
(async () => {
let response = await client.deleteNote('<note-id>');
console.log(response);
})();
(async () => {
let response = await client.lastSeenUpdateNote();
console.log(response);
})();