@seanjmurray/notesy

A simple note CL app using mongodb

Usage no npm install needed!

<script type="module">
  import seanjmurrayNotesy from 'https://cdn.skypack.dev/@seanjmurray/notesy';
</script>

README

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