open-index/open-npm huggingface dataset:
npm package: @stateempire/setjs
Description: A helper library to quickly build JS applications and SPAs using jQuery
Author: stateempire
Latest version: 2.1.8

<a href="https://set.stateempire.com" target="_blank"><img src="https://set.stateempire.com/images/common/logotype.svg" height="60px"></a>

# setjs

## Introduction

setjs is a rapid design and development jQuery based SPA (Single Page Application) helper developed by the team at State Empire, helping make room in the web building experience for more whisky and less coffee.

## Documentation

Read through our docs, visit [setjs.org] (https://setjs.org).

## Contribution

For all [contributions](CONTRIBUTING.md) This project adheres to the Contributor code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behaviour to [set@stateempire.com](mailto:set@stateempire.com).

## License

[MIT](LICENSE.md)

Copyright (c) 2018-present, State Empire.
npm package: @stateflows/signalr-client
Description: SignalR-based client for Stateflows framework
Author: Stateflows
Latest version: 0.13.0

# Introduction
Stateflows is a .NET-based framework for building executable State Machines. It targets .NET Standard 2.1 and uses actor model to achieve scalability and robustness. It comes with minimum dependencies and enables developers to write state-oriented business logic in a testable, object-oriented, enterprise-class code.

# Getting Started
Go to [Stateflows homepage](https://www.stateflows.net) to learn more.
npm package: @stateforward/hsm.ts
Description: Standalone TypeScript hierarchical state machine library
Author: HSM Team
Latest version: 0.1.0

# hsm.ts

Standalone TypeScript implementation of the HSM DSL and runtime.

This package ships a native TypeScript runtime with richer compile-time types. The current build focuses on:

- standard TypeScript source for both the DSL and runtime
- modern package outputs via `tsup`
- PascalCase DSL/runtime exports with camelCase compatibility aliases
- attribute-aware `sm.get("name")` and `sm.set("name", value)` typing on the returned machine

## Development

```sh
npm install
npm run typecheck
npm run test
npm run build
```

## Example

```ts
import * as hsm from "@stateforward/hsm.ts";

class Counter extends hsm.Instance {}

const model = hsm.define(
  "Counter",
  hsm.attribute("count", 0),
  hsm.state("idle"),
  hsm.initial(hsm.target("idle")),
);

const machine = hsm.start(new Counter(), model);

const count = machine.get("count"); // number
machine.set("count", count + 1);
```