manage-tweets

0.1.0 • Public • Published

manage-tweet

installation

npm install manage-tweets

Usage

A simple npm project, manage-tweets!

var manage = require('manage-tweets');
manage.addTweet("pippo franco", "ciao cari") // create one tweet
console.log(manage.deleteTweetByID(1)); // delete a tweet by id 
console.log(manage.modifyTweetByID(0, "oh come on")); // modify one tweet by id
console.log(manage.findTweetByAuthor("pippo franco")); // search tweet by author
console.log(manage.findTweetByContext("oh come")); //find the context of a tweet description
console.log(manage.getTweets()); //return all tweets
manage.reset(); // reset the tweets

Readme

Keywords

Package Sidebar

Install

npm i manage-tweets

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

3.85 kB

Total Files

4

Last publish

Collaborators

  • vforvengeance