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

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ab97ff4 · Sep 10, 2024
Sep 10, 2024
Aug 5, 2024
Aug 27, 2024
Sep 10, 2024
Oct 8, 2022
Aug 21, 2024
Aug 5, 2024
Aug 5, 2024
Apr 2, 2023
Aug 5, 2024
Sep 5, 2024
Sep 3, 2024
Sep 2, 2024
Sep 10, 2024
Sep 10, 2024
Aug 5, 2024
Sep 10, 2024
Sep 8, 2024

Repository files navigation

augment-vir

Documentation and code for all the current @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