open-index/open-npm huggingface dataset:
npm package: @lacera/my-ang-package
Description: This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.4.
Latest version: 1.0.1
Deprecated: This package has been deprecated

# MyAngPackage

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.4.

## Development server

Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
npm package: @lacerity/webhook
Description: Send errors or custom embeds to Discord/Slack through webhooks easily.
Author: lacerity
Latest version: 1.0.0

# Webhook
Send errors or custom embeds to Discord/Slack through webhooks easily.

## Install
```bash
npm i @lacerity/webook
```

## Import
- JavaScript
```js
const Webhook = require("@lacerity/webhook");
```

- TypeScript
```ts
import Webhook from "@lacerity/webhook";
```

## Discord or Slack Webhook

### Define the webhook
```ts
// discord webhook
const DiscordWebhook = new Webook("discord", "DISCORD_WEBHOOK_URL");
// slack webhook
const SlackWebhook = new Webook("slack", "SLACK_WEBHOOK_URL");
```

### Sending errors through webhook
```ts
try {
    // try something
} catch(error) {
    // send error
    DiscordWebhook.sendError(error); // typeof error can be Error or unknown
}
```

### Send Custom Embeds
- Documentation coming soon...