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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i manage-tweets

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

3.85 kB

Total Files

4

Last publish

Collaborators

  • vforvengeance