twon-simulation
v1.0.6
Published
The TWON-Simulation package
Readme
TWON-Simulation
Install
npm install twon-simulationUsage
import { Agent } from "twon-simulation";
class TestAgent extends Agent {
getNotifications() {
return [];
}
getFeed() {
return [];
}
}
const testAgent = new TestAgent("test");
console.log(testAgent);
const topic: string = "JavaScript";
testAgent.post(topic).then((post) => {
console.log(`Write a post about ${topic}:`);
console.log(post);
});