@tektoncd/dashboard-utils
v0.52.0-alpha.1
Published
> Common code, utilities, and constants used across the Tekton Dashboard
Downloads
321
Keywords
Readme
@tektoncd/dashboard-utils
Common code, utilities, and constants used across the Tekton Dashboard
Getting started
To install @tektoncd/dashboard-utils
in your project, you will need to run the following
command using npm:
npm install -S @tektoncd/dashboard-utils
If you prefer Yarn, use the following command instead:
yarn add @tektoncd/dashboard-utils
You will also need to install react-router-dom@5
.
Usage
To use a function or value, you can import it directly from the package:
import { resourceNameRegex } from '@tektoncd/dashboard-utils';
resourceNameRegex.test(myResourceName)
🙌 Contributing
We're always looking for contributors to help us fix bugs, build new features, or help us improve the project documentation. If you're interested, definitely check out our Contributing Guide! 👀
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License. Code samples are licensed under the Apache 2.0 License.