open-index/open-npm huggingface dataset:
npm package: @internalfx/substruct
Description: A node.js framework
Author: Bryan Morris
Latest version: 5.1.0


# substruct

[![NPM version](https://badgen.net/npm/v/substruct)](https://npmjs.com/package/substruct) [![NPM downloads](https://badgen.net/npm/dm/substruct)](https://npmjs.com/package/substruct)

## Install

```bash
yarn add substruct
```

## Usage

```js
let substruct = require('substruct')

substruct.configure()

substruct.start().then(function () {
  console.log('Server Started')
})
//=> foo
```

## Author

**substruct** © [internalfx](https://github.com/internalfx), Released under the [MIT](./LICENSE) License.<br>
Authored and maintained by InternalFX with help from contributors ([list](https://github.com/internalfx/substruct/contributors)).

> [www.internalfx.com](https://www.internalfx.com) · GitHub [@internalfx](https://github.com/internalfx)
npm package: @internap/base-http-errors
Description: A set of basic HTTP errors that can be used in Express.js
Author: msmol
Latest version: 0.0.6

# Base HTTP Errors

A set of basic HTTP errors that can be used in Express.js

## Usage

```javascript
const {
    NotFound,
    BadRequest
} = require('base-http-errors');

app.use((req, res, next) => {
    if (routeDoesntExist()) {
        next(new NotFound());
    }
    
    if (somethingWrongWithRequest()) {
        next(new BadRequest('A Custom Message'));
    }
});


// error handler
app.use((err, req, res, next) => {
    res.status(err.status);
    res.json({
        message: err.message,
        type: err.constructor.name,
    });
});

```

## Available Errors

| Error Class       | Default Message    | Status Code  |
| ----------------- | ------------------ | ------------ |
| BaseError         | Base Error         | 500          |
| TooManyRequests   | Too Many Requests  | 429          |
| NotFound          | Not Found          | 404          |
| Unauthorized      | Unauthorized       | 401          |
| Forbidden         | Forbidden          | 403          |
| BadRequest        | Bad Request        | 400          |
| InvalidInput      | Invalid Input      | 400          |


## Custom Errors

You may subclass any of the above listed errors to create your own error.

E.g.

```javascript
class CustomError extends BaseError {
    constructor(message) {
        super(message || 'Custom Error');
        this.status = 400;
    }
}
```
npm package: @internation/lms-web-icons
Description: Lms icons
Author: Jasurbek Yuldashov
Latest version: 0.2.51

# 🚀 Explore Our Icon Library

Discover a collection of beautifully designed icons to enhance your LMS experience.

🔗 [**Browse All Icons**](https://test.web-lms.inter-nation.uz/icons)

---

![LMS Icon Preview](https://dxppaagq87vsu.cloudfront.net/1/tfG-SxShDGGx40NfFxZFdc7Rcq_YQP2S.png)

---

## 💡 Tips for Use

- Perfect for dashboards, menus, and learning modules
- Available in **SVG** format
- Clean, consistent, and pixel-perfect design

---

## 🧑‍🎨 Want Custom Icons?

We’re always improving!  
Let us know if you'd like to request custom icons or themed designs.

---
npm package: @internet-identity-labs/nfid-sdk-react
Description: This package contains the React components that can be used within your application. It uses the UI kit ([nfid-ui-kit-core](../nfid-ui-kit-core/)) and also provides a set of utilities to easily integrate with NFID.
Author: Philipp Litzenberger
Latest version: 0.0.1-alpha.18

## NFID SDK React

This package contains the React components that can be used within your application. It uses the UI kit ([nfid-ui-kit-core](../nfid-ui-kit-core/)) and also provides a set of utilities to easily integrate with NFID. 

#### Installation
To properly integrate NFID to your application, you need to install not only `nfid-sdk-react`, but also `react-ic-ii-auth`. The `react-ic-ii-auth` combines the Internet Identity and NFID authentication as a wrapper package. 

```shell
$ yarn add nfid-sdk-react react-ic-ii-auth
```

For a deeper understanding of how to actually set up the NFID authentication, it's easier to refer to our [React example](../../examples/create-ic-app-react-demo/), where you can take the architecture from and migrate it to your own application.

### Getting started

```shell
$ yarn start
```

This builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.

### Storybook

> 💡 If you are seeing an out of date component, make sure you are running in watch mode like we recommend above.

To preview the actual React components, you can run the following command and launch an interactive playground in **a new terminal**:

```shell
$ yarn storybook
```

This loads all stories from the `src` folder with files following the naming convention of: `index.stories.tsx` - which can be found at `src/atoms/button`.

### Jest

Jest tests are set up to run with `npm test` or `yarn test`.