@tektoncd/dashboard-utils

0.52.0-alpha.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @tektoncd/dashboard-utils

Weekly Downloads

16

Version

0.52.0-alpha.1

License

Apache-2.0

Unpacked Size

26.1 kB

Total Files

7

Last publish

Collaborators

  • beglee
  • lyndseybutler
  • alangreene
  • sodonov