Giter Site home page Giter Site logo

ajtorres9 / tally Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 454.73 MB

A simple Node.js CLI application built using only core modules, plain callbacks, and asynchronous I/O functions

License: MIT License

JavaScript 89.22% TypeScript 10.56% Shell 0.23%
async cli cli-app cross-platform javascript nodejs typescript

tally's Introduction

tally

A simple Node.js CLI application built using only core modules, plain callbacks, and asynchronous I/O functions

GitHub Actions LGTM Codecov All Contributors Code Style Commitizen License

Obeys the Following

  • Allows the user to supply a CLI argument containing a comma-separated list of tags
    • If no argument is given, the data/tags.txt file is parsed to get an array of tags
  • Each of the provided tags are cross referenced with the objects in data/flat-files/*.json to determine the amount of times they appear
  • If any JSON parsing errors occur during the processing of the data/flat-files/*.json files, they are logged with console.error() and the processing continues
  • The results of the JSON parsing are stored in a data/cache.json file to speed up subsequent executions
  • The final output prints the tag name and associated count in descending order:
ipsum  3
dolor  2
amet   2
lorem  0
sit    0

Contributors

Thanks goes to these wonderful people (emoji key):

Andrew Torres
Andrew Torres

๐Ÿ’ป ๐Ÿ“– ๐Ÿค” ๐Ÿš‡ โš ๏ธ

This project follows the all-contributors specification. Contributions of any kind are welcome!

License

MIT ยฉ Andrew Torres

tally's People

Contributors

andrewjtorres avatar dependabot-preview[bot] avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

lgtm-migrator

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.