1.0.0 • Published 4 years ago
eoc-notes v1.0.0
LAB - Node Ecosystem (01)
A Half-Hearted Attempt at TDD
Author: Earl Jay Caoile
Links and Resources
Documentation
Setup
To run locally, run npm i
from the root directory.
To install the package from npm, run npm i @unfie555/notes
from the root directory.
How to use package
Once the package is installed through npm or ran locally through the repo, enter commands using the following formats: notes -a 'blah blah blah'
or notes -add 'blah blah blah'
. You should see a console log saying something like adding the following: blah blah blah
At this time, only the -a or -add flag works. Any other flags will return an exception. Leaving the string argument empty will also result in an exception.
Tests
- Testing command:
npm test
from the root directory.
UML
1.0.0
4 years ago