veritasbots-shared-lib

Veritas bots library

Usage no npm install needed!

<script type="module">
  import veritasbotsSharedLib from 'https://cdn.skypack.dev/veritasbots-shared-lib';
</script>

README

Introduction

This library uses the most generic code currently being used for our automations. Library was created in order for future bots not to repeat lines and lines of codes.

Getting Started

  1. Installation process To install this library, simply run npm install veritasbots-shared-lib --save
  2. Software dependencies This library depends on several others like:
  • adm-zip
  • imap
  • puppeteer
  • node-html-parser
  • node-xlsx
  • otplib
  • xlsx

Build and Test

All the functions are located on two different pastes:

  • SRC
    • common: which is a direct use of the function, we don't need any required npm library;
    • imap: uses the imap npm library and works for email access;
    • puppeteer: works with our most used npm library because we need page in order to work properly.
  • TEST
    • Here we have a JS File so we can check if the functions created were being called correctly and if we got issues, feel free to code here to test.

NPM Information

This Library was published via this guide (https://zellwk.com/blog/publish-to-npm/)

  • [NPM Publish Link] (link publish)
  • [NPM Password]: Ask Infraestructure Team for Panorama password