1.0.1 • Published 4 years ago

@seanjmurray/notesy v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Notesy

Version Build Status License: MIT

Installation

To install the app run the following:

$ npm i -g @seanjmurray/notesy

Usage

To enter a note run the following

$ notes --add "This is the note" --category "category"

To view notes

$ notes --list (optional --category "category")

To delete notes

$ notes --delete "id"

Flags

  • --add or -a --category or -c to add a note
  • --list or -l to view notes optional category flag
  • --delete or -d to delete a note

Testing

$ npm test

Jest will test all functionality

$ npm run lint

Checks for linting errors

Changelog

  • 2020-08-10 Add files and start README
  • 2020-08-11 Refactor to ES6 classes and add tests
  • 2020-08-12 Add CRUD to note class with mongoose
  • 2020-08-13 Refactor CRUD to collection file and publish V1