open-index/open-npm huggingface dataset:
npm package: @handyai/service-sdk
Description: Handy.ai Core Service SDK.
Author: Misha Marinenko
Latest version: 1.0.0

# @handyai/service-sdk

[Handy.ai](https://handy.ai) Core Service SDK.

## Documentation

To compile documentation run

**`$ yarn docs`**

or

**`$ npm run docs`**.

Then you can find it in _`docs/index.html`_

## Example Usage (TypeScript)
```typescript
import { HandyService } from "@handyai/service-sdk";

class MyService extends HandyService{
    public async processRequest (req: Request): Promise<Response> {
        return { error: false, payload: { message: "Hello, World!", user: req.user } };
    }
}

const service = new MyService();

service.listen();

```

## Example Usage (JavaScript)
```typescript
const { HandyService } = require("@handyai/service-sdk");

class MyService extends HandyService{
    public async processRequest (req) {
        return { error: false, payload: { message: "Hello, World!", user: req.user } };
    }
}

const service = new MyService();

service.listen();

```

## Debugging Service
use environment variable DEBUG="handyai:*"

for example 

`$ env DEBUG="handyai:*" node index.js`
npm package: @handylib/ditto
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.1.0.
Latest version: 0.0.3

# Ditto

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.1.0.

## Code scaffolding

Run `ng generate component component-name --project ditto` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ditto`.
> Note: Don't forget to add `--project ditto` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build ditto` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build ditto`, go to the dist folder `cd dist/ditto` and run `npm publish`.

## Running unit tests

Run `ng test ditto` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.