open-index/open-npm huggingface dataset:
npm package: @hydra-ecology/maler
Description: A Javascript library for working with Canvas.
Author: DISVER
Latest version: 1.0.3

[![Build Status](https://www.travis-ci.org/disver/hydrajs-maler.svg?branch=master)](https://www.travis-ci.org/disver/hydrajs-maler)


***

## Introduction

Hydra is a JavaScript library for working with and building Canvas views.

   In the past few months, our team built a configuration diagram using Javascript due to the needs of the work.
We made a lot of comparisons in many libraries, and finally settled the program using the game engine (`Cocos2dx`).

   The reason is simple, because Cocos has a lot of out-of-the-box visual editing tools that will bring us great efficiency.
After completing the task, we also made some reflections. Obviously, it is unreasonable to use a game engine to build such a page.
   This way will bring a lot of inconvenience in subsequent maintenance, one of which is code separation (the visual tool we use is `Cocos Creator`, which needs to reference the code after building).
At the same time, the form of iframe embedding also makes many elements of the page uncontrollable.

   After the free time, we decided to develop a Canvas view framework in the team meeting, which can be used to conveniently build the view, so Hydra.js was born.

## Documentation

We are speeding up the creation of documents, which will be published later on `Git Page`.

## Contributors ✨

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tr>
    <td align="center"><a href="https://github.com/4everlynn"><img src="https://avatars1.githubusercontent.com/u/31912843?v=4" width="100px;" alt="Edward Jobs"/><br /><sub><b>Edward Jobs</b></sub></a><br /><a href="https://github.com/disver/hydrajs-maler/commits?author=4everlynn" title="Code">💻</a> <a href="https://github.com/disver/hydrajs-maler/commits?author=4everlynn" title="Documentation">📖</a></td>
    <td align="center"><a href="https://github.com/jbhim"><img src="https://avatars1.githubusercontent.com/u/31913489?v=4" width="100px;" alt="jbhim"/><br /><sub><b>jbhim</b></sub></a><br /><a href="https://github.com/disver/hydrajs-maler/commits?author=jbhim" title="Code">💻</a> <a href="https://github.com/disver/hydrajs-maler/commits?author=jbhim" title="Documentation">📖</a></td>
  </tr>
</table>

<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
npm package: @hydra-ecology/weapon
Description: A JavaScript library for multithreading and streaming operations
Author: 4everlynn
Latest version: 1.0.0

[![Build Status](https://www.travis-ci.org/disver/hydrajs-maler.svg?branch=master)](https://www.travis-ci.org/disver/hydrajs-maler)


***

## Introduction

Hydra is a JavaScript library for working with and building Canvas views.

   In the past few months, our team built a configuration diagram using Javascript due to the needs of the work.
We made a lot of comparisons in many libraries, and finally settled the program using the game engine (`Cocos2dx`).

   The reason is simple, because Cocos has a lot of out-of-the-box visual editing tools that will bring us great efficiency.
After completing the task, we also made some reflections. Obviously, it is unreasonable to use a game engine to build such a page.
   This way will bring a lot of inconvenience in subsequent maintenance, one of which is code separation (the visual tool we use is `Cocos Creator`, which needs to reference the code after building).
At the same time, the form of iframe embedding also makes many elements of the page uncontrollable.

   After the free time, we decided to develop a Canvas view framework in the team meeting, which can be used to conveniently build the view, so Hydra.js was born.

## Documentation

We are speeding up the creation of documents, which will be published later on `Git Page`.

## Contributors ✨

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tr>
    <td align="center"><a href="https://github.com/4everlynn"><img src="https://avatars1.githubusercontent.com/u/31912843?v=4" width="100px;" alt="Edward Jobs"/><br /><sub><b>Edward Jobs</b></sub></a><br /><a href="https://github.com/disver/hydrajs-maler/commits?author=4everlynn" title="Code">💻</a> <a href="https://github.com/disver/hydrajs-maler/commits?author=4everlynn" title="Documentation">📖</a></td>
    <td align="center"><a href="https://github.com/jbhim"><img src="https://avatars1.githubusercontent.com/u/31913489?v=4" width="100px;" alt="jbhim"/><br /><sub><b>jbhim</b></sub></a><br /><a href="https://github.com/disver/hydrajs-maler/commits?author=jbhim" title="Code">💻</a> <a href="https://github.com/disver/hydrajs-maler/commits?author=jbhim" title="Documentation">📖</a></td>
  </tr>
</table>

<!-- markdownlint-enable -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->
npm package: @hydra-js/cli
Description: Hydra-JS Command-line Toolkit
Latest version: 1.0.0-alpha.4

# @hydra-js/cli

[![npm version](https://img.shields.io/npm/v/@hydra-js/cli.svg)](https://www.npmjs.com/@hydra-js/cli)

Command-line Toolkit for Hydra.js

## Getting started

### Usage

**Install**
```bash
npm i -g @hydra-js/cli
```

**Create a new App**

*Method 1*
```bash
hydra create [-f|--force] <namespace>
```
*Method 2*
```bash
npx @hydra-js/cli create [-f|--force] <namespace>
```

**Run**
```bash
cd <namespace>
hydra serve
```

*Specify npm script to run*
```bash
hydra serve --script dev // hydra serve -s dev
```

### Development Setup

**Prerequisites**

- Node.js (v14 or later)
- npm (v7 or later)

### Setting up locally

```bash
git clone git@github.com:hydra-js/cli.git hydra-cli
cd hydra-cli
npm install
```

### Running locally

To run the CLI tool locally without installing it, use:

```bash
node index.js create [-f|--force] <namespace>
```

### Running locally with `npm link`

> This section provides instructions on how to use `npm link` for local development, enabling you to test the CLI tool as if it were installed globally.

To link the CLI tool locally for development and testing, use `npm link`:

1. Run `npm link` in the project directory. This creates a symlink globally:

```bash
npm link
```

2. Now you can run the `hydra` command from anywhere on your system:

```bash
hydra create [-f|--force] <namespace>
```

This allows you to test changes to the CLI tool without needing to reinstall it each time you make modifications.

### Publishing

To publish the package to npm:

1. Ensure you are logged in to npm:

```bash
npm login
```

2. Make sure the NPM_TOKEN secret is added to your GitHub repository.

3. Create a new version tag and push it to GitHub:

```bash
git tag v1.0.0
git push origin v1.0.0
```

The GitHub Actions workflow will automatically publish the package to npm when a new tag is pushed.

### Contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.

### License

This project is licensed under the MIT License.