cdn2agora

1.0.0 • Public • Published

Log Conversion Script - cdn2agora

A Node.js script that converts MINHA CDN logs to Agora logs format

The purpose of this project is a simple way to convert MINHA CDN's Log to Agora's Log Format

User Guide

Basic usage example:

npx cdn2agora <inputUrl> <outputPath> [--overwriteFile]

Arguments

Name Alias Index Description
inputUrl -i 1 MINHA CDN logs url to fetch
outputPath -o 2 Output Path to save Agora logs
overwriteFile -v - Optional: Overwrite file if it already exists

Examples:

Simple usage:

npx cdn2agora http://logstorage.com/minhaCdn1.txt ./output/minhaCdn1.txt

Alternative usage:

npx cdn2agora --inputUrl=https://s3.amazonaws.com/uux-itaas-static/minha-cdn-logs/input-01.txt --outputPath=./output/minhaCdn1.txt --overwriteFile

Alternative usage with alias:

npx cdn2agora -i=https://s3.amazonaws.com/uux-itaas-static/minha-cdn-logs/input-01.txt -o=./output/minhaCdn1.txt -v

Author



Allan Lancioni

Linkedin Badge Gmail Badge

Readme

Keywords

none

Package Sidebar

Install

npm i cdn2agora

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

12.9 kB

Total Files

13

Last publish

Collaborators

  • allanlancioni