@equinor/echo-utils
v3.0.0
Published

Maintainers
Keywords
Readme

Echo-Utils
Package for creating echo related Echo Utils.
⚠️ Dependency Rules
Source of truth: /eslint.config.js - The @nx/enforce-module-boundaries rule defines all allowed dependencies.
echo-utils is a foundation utility library and CANNOT import from any other echo library.
See libs/README.md for the full dependency flow diagram.
/bundlephobia/:format/:packageName
Install
NPM
npm install @equinor/echo-utils --saveDevelopment
Run
For development we have provided a test playground to be able to test Echo utils. This can be run by using.
npm startTest
Echo tempPack is set upt to run Jest test suite. To run tests use.
npm run testFor abetter overview, run tests with test coverage.
npm run test-coverageDocumentation
Documentation generated using typedoc can be found here.
Imports in Test Handlers
Test handlers can import from the main entry point:
import { getLinkParamsOrThrow } from '@equinor/echo-utils';Modern tree-shaking ensures that only the used utilities are included in test bundles.
