open-index/open-npm huggingface dataset:
npm package: @signlanguagetech/npm-library-boilerplate
Description: NPM Library Boilerplate for reusability
Author: Milad Vafaeifard
Latest version: 0.0.1


# set up a typescript library

## create src/index.ts, .gitignore, npx -p typescript tsc --init

## npm config set init-author-name = "AUTHOR_NAME" && npm init -y

## npm install @types/node typescript -D
npm package: @signnow/api-client
Description: SignNow REST Service Wrapper
Author: SignNow Team
Latest version: 3.2.0

# SignNow API Node.js SDK

## v3.2.0

[![Node.js Version](https://img.shields.io/badge/supported->=17-blue?logo=node.js)](https://nodejs.org/)

**Requirements**

- Node.js 17 or higher

**Installation**

Install the SDK from [`npm`](https://www.npmjs.com/package/@signnow/api-client):

```bash
npm install @signnow/api-client
```

**Usage**

To start using the SDK, initialize the client with your credentials.
You can authenticate using either an API key:
```typescript
const sdk = new Sdk({ apiKey: '{{API_KEY}}' });
```
or by exchanging your Basic authorization token, username, and password for an access token:
```typescript
const sdk = await new Sdk({ basicToken: '{{BASIC_TOKEN}}' }).authenticate(username, password);
```
**Note:** While the Basic authorization token is optional for requests authenticated via API key, it is required for:
* Generating OAuth 2.0 access tokens.
* Accessing specific endpoints, such as [/api/v2/events](https://docs.signnow.com/docs/signnow/basic-auth).

For details on generating tokens and endpoint requirements, refer to the [SignNow Authentication Guide](https://docs.signnow.com/docs/signnow/authentication).

Example of retrieving the document information by ID:

```typescript
import { Sdk } from '@signnow/api-client/core/sdk';
import { DocumentGetRequest, DocumentGetResponse } from '@signnow/api-client/api/document';

const sdk = new Sdk({ apiKey: '{{API_KEY}}', basicToken: '{{BASIC_TOKEN}}' });
const client = sdk.getClient();

const documentGet = new DocumentGetRequest('1b23ed1a6aaf4d3392ed0e88bc2bfafb2a3cf414');
const responseDocumentGet = await client.send<DocumentGetResponse>(documentGet);
console.log('response document get', responseDocumentGet);
```

**Examples**

Find more API usage examples in the [`examples`](https://github.com/signnow/SignNowNodeSDK/tree/master/examples) directory.
npm package: @signoz-icons/icons
Description: SVG-based React icon components
Author: Rahul Keswani
Latest version: 1.0.0

# @signoz/icons

## Description

`@signoz/icons` is a collection of SVG-based React icon components. This package provides a set of customizable icons that can be easily integrated into your React projects.

## Features

- SVG-based icons for high-quality rendering
- Customizable via React props
- Easy integration with React projects

## Installation

To install the package, use npm:

```bash
npm install @signoz/icons
```

## Usage

To use an icon in your project, import it from the package and include it in your component:

```jsx
import { IconName } from '@signoz/icons';

const MyComponent = () => (
  <IconName />
);
```

Replace `IconName` with the actual name of the icon you want to use.

## Scripts

The following scripts are available in the package:

- `prebuild`: Cleans the `src` and `dist` directories using `rimraf`.
- `build`: Runs the `svgr` script and then builds the project using `rollup`.
- `svgr`: Converts SVG files to React components with specific options.

To run these scripts, use npm:

```bash
npm run prebuild
npm run build
npm run svgr
```

## Development

### Prerequisites

Make sure you have the following installed:

- Node.js
- npm

### Building the Project

To build the project, run:

```bash
npm run build
```

This will generate the `dist` directory with the compiled files.

### Contributing

We welcome contributions to this package. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.