open-index/open-npm huggingface dataset:
npm package: @scdev/decorate-request-response
Description: This package allow for decorating request and/or response objects without modifying the shape of the object on each requests.
Author: Simone Corsi
Latest version: 2.0.0

# decorate-request-response

<!-- toc -->

- [About The Project](#about-the-project)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)

<!-- tocstop -->

## About The Project

This package allow for decorating request and/or response objects without modifying the [shape of the object](https://mathiasbynens.be/notes/shapes-ics) on each requests.

<!-- GETTING STARTED -->

## Installation

```sh
npm i @scdev/decorate-request-response
```

<!-- USAGE EXAMPLES -->

## Usage

> _NB_ Avoid overriding existing properties

```js
const { createServer } = require('http');

const decorate = require('@scdev/decorate-request-response');
const { IncomingMessage, ServerResponse } = decorate({
  request: ['user'],
  response: [
    [
      'json',
      function (data) {
        this.end(JSON.stringify(data));
      },
    ],
  ],
});

createServer(
  {
    IncomingMessage,
    ServerResponse,
  },
  (req, res) => {
    // req.user === null
    // res.user === null
    res.end();
  }
).listen(3000);
```

<!-- CONTRIBUTING -->

## Contributing

Project is pretty simple and straight forward for what is my needs, but if you have any idea you're welcome.

This projects uses [commitizen](https://github.com/commitizen/cz-cli) so be sure to use standard commit format or PR won't be accepted

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'feat(scope): some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

<!-- LICENSE -->

## License

Distributed under the MIT License. See `LICENSE` for more information.

<!-- CONTACT -->

## Contact

Simone Corsi - [@im_simonecorsi](https://twitter.com/im_simonecorsi)
npm package: @scdev/github-languages-colors
Description: This simple packages exposes github language colors in js, json and css and updates daily from github definitions!
Author: Simone Corsi
Latest version: 1.0.0

# github-languages-colors

<!-- PROJECT SHIELDS -->

<!-- ![tests](https://github.com/simonecorsi/github-languages-colors/workflows/test/badge.svg) -->

<!-- toc -->

- [About](#about)
- [Installation](#installation)
- [Usage](#usage)
  - [Javascript/Typescript](#javascripttypescript)
  - [JSON](#json)
  - [CSS](#css)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)

<!-- tocstop -->

## About

> 🎨 This simple packages exposes github language colors in js, json and css and updates daily from github definitions!

Have you ever needed for your side project to show languages with cool colors like github does? Fear no more, this package exposes them in JS (both CommonJS and ESM), JSON and CSS!

The definitions are updated daily!

<!-- GETTING STARTED -->

## Installation

```sh
npm i --save @scdev/github-languages-colors
# OR
yarn add @scdev/github-languages-colors
```

<!-- USAGE EXAMPLES -->

## Usage

### Javascript/Typescript

```js
import ghColors from '@scdev/github-languages-colors';
// OR
const ghColors = require('@scdev/github-languages-colors');
```

**NB**: Language are the same as returned from Github APIs and as seen in the website, this to easily retrieve them programmatically, eg: js is JavaScript.

### JSON

There is also a JSON file if you want to use it in other languages in: `src/index.json`

### CSS

**NB**: To maintain original names as stated above we added prefixes to avoid unconventional classNames (eg: starting with numbers)

Two files are generated, so you can include only the one you need:

- [`gh-colors.css`](./src/gh-colors.css)
- [`gh-background.css`](./src/gh-background.css)
- [`gh-variables.css`](./src/gh-variables.css)

<!-- CONTRIBUTING -->

## Contributing

Project is pretty simple and straight forward for what is my needs, but if you have any idea you're welcome.

This projects uses [commitlint](https://commitlint.js.org/) with Angular configuration so be sure to use standard commit format or PR won't be accepted.

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'feat(scope): some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

<!-- LICENSE -->

## License

Distributed under the MIT License. See `LICENSE` for more information.

<!-- CONTACT -->

## Contact

Simone Corsi - [@im_simonecorsi](https://twitter.com/im_simonecorsi)
npm package: @scdev/is-async-function
Description: Simple package to check if a function is either an AsyncFunction or not
Author: Simone Corsi
Latest version: 1.2.1

# is-async-function

This package check if function provided is an AsyncFunction returning true/false.

<!-- toc -->

- [is-async-function](#is-async-function)
  - [Installation](#installation)
  - [Usage](#usage)
  - [Contributing](#contributing)
  - [License](#license)
  - [Contact](#contact)

<!-- tocstop -->


<!-- GETTING STARTED -->

## Installation

```sh
npm i --save @scdev/is-async-function
# OR
yarn add @scdev/is-async-function
```

<!-- USAGE EXAMPLES -->

## Usage

```javascript
const isAsyncFunction = require('@scdev/is-async-function');
isAsyncFunction(() => {}) // false
isAsyncFunction(async () => {}) // true
```

<!-- CONTRIBUTING -->

## Contributing

Project is pretty simple and straight forward for what is my needs, but if you have any idea you're welcome.

This projects uses [commitizen](https://github.com/commitizen/cz-cli) so be sure to use standard commit format or PR won't be accepted

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3. Commit your Changes (`git commit -m 'feat(scope): some AmazingFeature'`)
4. Push to the Branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request

<!-- LICENSE -->

## License

Distributed under the MIT License. See `LICENSE` for more information.

<!-- CONTACT -->

## Contact

Simone Corsi - [@im_simonecorsi](https://twitter.com/im_simonecorsi)
npm package: @scdevelopers/logistics-utils
Description: We have three classes for the use of logistics
Author: Bryan Chan
Latest version: 1.1.0

# logistics-utils

We have three classes for the use of logistics

- [Availabilities](https://github.com/SecondCloset/logistics-utils/tree/master/doc/Availabilities.md)
- [AvailabilitySlot](https://github.com/SecondCloset/logistics-utils/tree/master/doc/AvailabilitySlot.md)
- [AppointmentsAvailability](https://github.com/SecondCloset/logistics-utils/tree/master/doc/AppointmentsAvailability.md)
npm package: @scdevelopers/web-components
Description: Second Closet Component Library
Author: Anthony Langford
Latest version: 1.1.3

<h1 align=center>Second Closet Component Library</h1>
<p align=center>A World Class Component Library </p>

[![Dependencies](https://img.shields.io/david/anthony-langford/address-lookup)](https://david-dm.org/anthony-langford/address-lookup) [![DevDependencies](https://img.shields.io/david/dev/anthony-langford/address-lookup)](https://david-dm.org/anthony-langford/address-lookup?type=dev) ![Rating](https://img.shields.io/badge/rating-5%2F5-brightgreen) ![License](https://img.shields.io/badge/license-MIT-green)

## 📦 Install

```bash
npm install @scdevelopers/web-components
```

```bash
yarn add @scdevelopers/web-components
```

## 🔨 Usage

```jsx
import { AddressLookup } from '@scdevelopers/web-components';

ReactDOM.render(
  <AddressLookup
    selectedAddress={selectedAddress}
    setSelectedAddress={setSelectedAddress}
  />,
  mountNode
);
```

## ⌨️ Development

Use Gitpod, a free online dev environment for GitHub.

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/anthony-langford/address-component)

Or clone locally:

```bash
git clone git@github.com:anthony-langford/address-component.git
cd address-component
npm install
npm start # This starts Storybook
```