- Notifications
You must be signed in to change notification settings - Fork 0
osneem/wordcounter-ts
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Latest commit | ||||
Repository files navigation
1. Pull project from https://github.com/osneem/wordcounter-ts.git 2. Open the terminal in the project root folder 3. Use the following commands to install ts-node & necessary dependencies. npm install npm install --save @types/node npm install -g ts-node npm install -g typescript 3. To run the word frequency counter use the following command: ts-node ./src/index.ts ./src/source.txt (Please notice that './src/source.txt' is the path of a test file, which can be replaced with a path to your own desired text file!) 4. To run the Jest tests please use the following command: npm t index.test.ts (Please notice that after all of the tests have ran successfully the terminal will encounter a error: '[Error: ENOENT: no such file or directory]'. This is possibly caused by a false configuration of the testing framework, but I ran out of ideas on how to solve it.)
About
Typescript console application for finding the frequency of unique words in a text file. Instructions on how to use included in the readme file.
Resources
Uh oh!
There was an error while loading. Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published