Skip to content

Latest commit

 

History

History
 
 

utils

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@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.