Skip to content

Set of helper functions I frequently reuse.

License

CC0-1.0, MIT licenses found

Licenses found

CC0-1.0
LICENSE-CC0
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

electrovir/augment-vir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

989b857 · Mar 11, 2025
Jan 2, 2025
Dec 9, 2024
Feb 19, 2025
Mar 11, 2025
Oct 8, 2022
Sep 12, 2024
Sep 12, 2024
Jan 1, 2025
Apr 2, 2023
Sep 12, 2024
Dec 18, 2024
Jan 2, 2025
Feb 19, 2025
Sep 12, 2024
Mar 11, 2025
Mar 11, 2025
Feb 19, 2025
Dec 26, 2024

Repository files navigation

augment-vir

Documentation and code for all the latest @augment-vir packages.

  • @augment-vir/assert: A collection of assertions for test and production code alike. These main exports are the following:
  • @augment-vir/common: A collection of augments, helpers types, functions, and classes for any JavaScript environment.
    • Examples: filterObject, wait, getEnumValues
    • Includes a colored logger implementation: log
    • Includes a SQL-select-like runtime implementation of TypeScript's Pick: selectFrom
    • Includes Prisma type helpers.
    • and much more...
  • @augment-vir/node: A collection of augments, helpers types, functions, and classes only for Node.js (backend) JavaScript environments.
    • Includes a custom Prisma API built on its CLI: prisma.
    • Includes a custom Docker API built on its CLI: docker.
    • Includes an easy to use shell script runner: runShellCommand.
    • and much more!
  • @augment-vir/test: A universal testing suite that works with Mocha style test runners and Node.js's built-in test runner with the following main exports:
    • describe: the normal describe test suite function, automatically imported based on the current environment.
    • it: the normal it test function, automatically imported based on the current environment.
    • itCases: a succinct way to test lots of inputs and outputs to a single function.
    • testWeb: a API of web-testing utilities, only available in browser environments.
  • @augment-vir/web: A collection of augments, helpers types, functions, and classes, that only work in a browser JavaScript environment.
    • Includes a querySelector implementation that works with Shadow DOM: queryThroughShadow.
    • Includes an easy way to list all nested children of an element: getNestedChildren.
    • and much more!

About

Set of helper functions I frequently reuse.

Resources

License

CC0-1.0, MIT licenses found

Licenses found

CC0-1.0
LICENSE-CC0
MIT
LICENSE-MIT

Stars

Watchers

Forks

Languages