Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dappnode/types


https://github.com/dappnode/types

Last synced: 9 days ago
JSON representation

Awesome Lists containing this project

README

        

# @dappnode/types

This package provides a shared collection of TypeScript types, utility functions, parameters, and JSON schemas for DAppNode projects.

## Installation

To add this package as a dependency in your project, use the following command:

```bash
npm install @dappnode/types

```

## Usage

To utilize the shared types, utility functions, parameters, and JSON schemas in your project, simply import them as needed:

```typescript
import { MyType, myUtilityFunction, myParameter } from "@dappnode/types";
```

## Structure

This package is organized as follows:

- `src/types`: Contains the shared TypeScript types.
- `src/utils`: Contains the shared utility functions.
- `src/params`: Contains the shared parameters.
- `src/schemas`: Contains the shared JSON schemas.

## Contributing

1. Fork the repository and clone it to your local machine.
2. Navigate to the project directory and install the dependencies:

```bash
npm install

```

3. Make your changes or additions to the code.
4. Build the project:

```bash
npm run build

```

5. Commit and push your changes to your fork.
6. Open a pull request to the main repository.

## License

This project is licensed under the MIT License. See the LICENSE file for more information.