Git Product home page Git Product logo
Karounwi Pelumi Adewale  photo

peak2 Goto Github PK

followers: 2.0 following: 1.0 repos: 15.0 gists: 0.0

Name: Karounwi Pelumi Adewale

Type: User

Company: Decagon

Bio: Software/Product Engineer || NodeJs Developer || React Developer || Javascript Developer || Scientific Researcher || Scrum Master(Fundamentals) || CryptoTech

Twitter: peak214

Email Analysis

This repo contains a CLI tool that allows you use the command line to pass information to your program.

Running the program

yarn # Install dependencies

The program is written in Typescript, it would need to be compiled the first time and everytime you make changes. A compile and compile:watch script have been added to help with that. Open a new terminal windown and run

yarn compile
# yarn compile:watch # Run this to compile when any change is made.

The cli tool is email-analysis and is documented below.

yarn link # Make the cli tool available in your path.
email-analysis --help

Note: This is only available after running yarn link above.

The script takes two arguments, input and output

input should be a list of csv files to be provided to your program. This can be a glob output should be the path where a JSON file of your report should be written.

To run an analysis on a set of files

email-analysis fixtures/inputs/small-sample.csv report-analysis.json
email-analysis 'fixtures/inputs/*.csv' report-analysis.json

To validate emails.

email-analysis validate fixtures/inputs/small-sample.csv report-validation.csv
email-analysis validate 'fixtures/inputs/*.csv' report-validation.csv

Karounwi Pelumi Adewale 's Projects

peak2 icon peak2

Config files for my GitHub profile.

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.