open-index/open-npm huggingface dataset:
npm package: @lcombs15/messing-around-with-node
Description: Learning node.....
Author: Lucas Combs
Latest version: 1.1.2

# Messing around with node
[![npm version](https://badge.fury.io/js/%40lcombs15%2Fmessing-around-with-node.svg)](https://badge.fury.io/js/%40lcombs15%2Fmessing-around-with-node)

My way of learning the ins and outs of javascript packages
npm package: @lcooper/create-app
Description: Create web apps with no configuration
Author: Lucian Cooper
Latest version: 0.0.3

# @lcooper/create-app

[![npm][npm-badge]][npm-link]
[![license][license-badge]][license-link]

A tool to generate React apps with no configuration. Inspired by [create-react-app](https://github.com/facebookincubator/create-react-app)

## Usage

Use npx:

```bash
npx @lcooper/create-app new-app
```

Or install globally:

```bash
npm i @lcooper/create-app -g
```

Then run:

```bash
create-app new-app
```

## File Structure

Running either of the above commands will create a directory called `new-app` inside the current working directory, and generate the following initial project structure:

```
new-app
├── .gitignore
├── app.config.js
├── LICENSE
├── package.json
├── node_modules
└── src
    ├── .eslintrc.js
    ├── index.html
    ├── index.js
    └── index.scss
```

If a single page appliation meets your needs, get started by editing:

 * `src/index.js` - the javascript entry point for your app
 * `src/index.html` - the page template for your app

To configure a multi page application, you'll have to edit the `app.config.js` file. More information can be found [here](https://github.com/luciancooper/app-toolkit/tree/main/packages/app-scripts#configuration).

## Scripts

The following scripts are included in each new app:

### `build`

Run using **`npm run build`** or **`yarn build`**.

Builds the app in production mode into an output folder named `dist`. Files are minified and file names are hashed.

### `dev`

Run using **`npm run dev`** or **`yarn dev`**.

Runs the app in development mode using a development server that runs on port `3000` by default. 

Errors and warnings will be displayed in the console, and shown in the browser via an error overlay.

[`react-refresh`](https://www.npmjs.com/package/react-refresh) is integrated via [`@pmmmwh/react-refresh-webpack-plugin`](https://www.npmjs.com/package/@pmmmwh/react-refresh-webpack-plugin).

## Related

[`@lcooper/app-scripts`](https://www.npmjs.com/package/@lcooper/app-scripts) - App scripts and configuration.\
[`@lcooper/webpack-messages`](https://www.npmjs.com/package/@lcooper/webpack-messages) - Webpack error and warning message formatter.\
[`@lcooper/dev-server`](https://www.npmjs.com/package/@lcooper/dev-server) - Development server with HMR.\
[`@lcooper/dev-overlay`](https://www.npmjs.com/package/@lcooper/dev-overlay) - Overlay that displays errors and warnings in the browser.

[npm-link]: https://www.npmjs.com/package/@lcooper/create-app
[npm-badge]: https://img.shields.io/npm/v/@lcooper/create-app?logo=npm&style=for-the-badge
[license-link]: LICENSE
[license-badge]: https://img.shields.io/npm/l/@lcooper/create-app?color=brightgreen&style=for-the-badge
npm package: @lcooper/dev-overlay
Description: A development overlay for displaying errors and warnings in the browser
Author: Lucian Cooper
Latest version: 0.0.4

# @lcooper/dev-overlay

[![npm][npm-badge]][npm-link]
[![license][license-badge]][license-link]

An error overlay that displays build and runtime errors in the browser. Used by [`@lcooper/dev-server`](https://www.npmjs.com/package/@lcooper/dev-server).

## Related

[`@lcooper/create-app`](https://www.npmjs.com/package/@lcooper/create-app) - Tool for creating React apps with no configuration.\
[`@lcooper/app-scripts`](https://www.npmjs.com/package/@lcooper/app-scripts) - Web app scripts and configuration.\
[`@lcooper/webpack-messages`](https://www.npmjs.com/package/@lcooper/webpack-messages) - Webpack error and warning data extractor.\
[`@lcooper/dev-server`](https://www.npmjs.com/package/@lcooper/dev-server) - Development server with HMR.

[npm-link]: https://www.npmjs.com/package/@lcooper/dev-overlay
[npm-badge]: https://img.shields.io/npm/v/@lcooper/dev-overlay?logo=npm&style=for-the-badge
[license-link]: LICENSE
[license-badge]: https://img.shields.io/npm/l/@lcooper/dev-overlay?color=brightgreen&style=for-the-badge
npm package: @lcooper/eslint-config
Description: Shareable config for ESLint
Author: Lucian Cooper
Latest version: 3.1.1

# @lcooper/eslint-config

[![npm](https://img.shields.io/npm/v/@lcooper/eslint-config?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/@lcooper/eslint-config)
[![ci](https://img.shields.io/github/actions/workflow/status/luciancooper/eslint-configs/ci.yml?logo=github&style=for-the-badge)](https://github.com/luciancooper/eslint-configs/actions/workflows/ci.yml)
[![license](https://img.shields.io/github/license/luciancooper/eslint-configs?color=yellow&style=for-the-badge)](#license)

An ESlint [shareable flat config](https://eslint.org/docs/latest/use/configure/configuration-files-new) that extends [`eslint-config-airbnb-base`](https://www.npmjs.com/package/eslint-config-airbnb-base).

## Installation

The peer dependency [`eslint`](https://www.npmjs.com/package/eslint) must be installed alongside this package.

> install with npm:
```bash
npm install -D eslint @lcooper/eslint-config
```

> install with yarn:
```bash
yarn add -D eslint @lcooper/eslint-config
```

> Note: This project requires Eslint version `>=9.3`, and NodeJS version `^18.18.0 || ^20.9.0 || >=21.1.0`.

## Usage

Add an `eslint.config.js` config file to your project's root directory:

```js
import config from '@lcooper/eslint-config';

export default [
    ...config,
];
```

If your project does not specify `"type": "module"` in its `package.json` file, then `eslint.config.js` must be in CommonJS format:

```js
const config = require('@lcooper/eslint-config');

module.exports = [
    ...config,
];
```

To add browser globals for browser environments, import additional configuration from `@lcooper/eslint-config/envs`.

```js
import config from '@lcooper/eslint-config';
import { browser } from '@lcooper/eslint-config/envs';

export default [
    ...config,
    browser,
];
```

This project is no longer compatable with the legacy eslintrc format, and requires you use the flat config format. Check out [this page](https://eslint.org/docs/latest/use/configure/migration-guide) for more details about migrating from the eslintrc format to the flat config format.

## Related

 * [`@lcooper/eslint-plugin`](../eslint-plugin) - Plugin with awesome extra ESLint rules used by this config
 * [`@lcooper/eslint-config-react`](../eslint-config-react) - Enhancement config for React projects
 * [`@lcooper/eslint-config-typescript`](../eslint-config-typescript) - Base config for TypeScript projects
 * [`@lcooper/eslint-config-typescript-react`](../eslint-config-typescript-react) - Enhancement config for React projects that use TypeScript
 * [`@lcooper/eslint-config-jest`](../eslint-config-jest) - Enhancement config for projects using Jest

## License

[MIT](../../LICENSE)
npm package: @lcooper/eslint-plugin
Description: Awesome extra ESLint rules
Author: Lucian Cooper
Latest version: 1.5.1

# @lcooper/eslint-plugin

[![npm](https://img.shields.io/npm/v/@lcooper/eslint-plugin?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/@lcooper/eslint-plugin)
[![ci](https://img.shields.io/github/actions/workflow/status/luciancooper/eslint-configs/ci.yml?logo=github&style=for-the-badge)](https://github.com/luciancooper/eslint-configs/actions/workflows/ci.yml)
[![license](https://img.shields.io/github/license/luciancooper/eslint-configs?color=yellow&style=for-the-badge)](#license)

Awesome extra [ESLint](https://eslint.org) rules.

## Installation

> install with npm:
```bash
npm install -D eslint @lcooper/eslint-plugin
```

> install with yarn:
```bash
yarn add -D eslint @lcooper/eslint-plugin
```

## Usage

#### Configuration (legacy `.eslintrc`):

Add `@lcooper/eslint-plugin` or just `@lcooper` to the plugins section of your `eslintrc` configuration file.

Next, configure the rules you want to use under the `rules` section, or use the `plugin:@lcooper/all` bundled config that enables all plugin rules and disables any conflicting base ESLint rules. This can be configured using the `extends` property in your `.eslintrc` config file:

```json
{
  "plugins": [
    "@lcooper"
  ],
  "extends": [
    "plugin:@lcooper/all"
  ]
}
```

#### Configuration (new `eslint.config.js`):

If you are using the new flat config system, you can add the bundled `all/flat` config to the exported config array in your `eslint.config.js` file:

```js
const plugin = require('@lcooper/eslint-plugin');

module.exports = [
    // ... other configs
    plugin.configs['all/flat'],
];
```

## Rules

:wrench: = Fixable

| Name | Description | |
| :-- | :-- | :--: |
| [`consecutive-declarations`](docs/rules/consecutive-declarations.md) | Enforce a consistent style for consecutive `const`, `let`, and `var` declarations | :wrench: |
| [`global-require`](docs/rules/global-require.md) | Ensure `require()` calls are in the top-level module scope | |
| [`prefer-template`](docs/rules/prefer-template.md) | Suggest using template literals instead of string concatenation | :wrench: |
| [`top-level-padding-lines`](docs/rules/top-level-padding-lines.md) | Require or disallow empty lines between top level statements | :wrench: |

## Related

ESLint configs that utilize this plugin:

 * [`@lcooper/eslint-config`](../eslint-config) - Base config for standard JavaScript projects
 * [`@lcooper/eslint-config-react`](../eslint-config-react) - Config for React projects
 * [`@lcooper/eslint-config-typescript`](../eslint-config-typescript) - Config for TypeScript projects
 * [`@lcooper/eslint-config-typescript-react`](../eslint-config-typescript-react) - Config for TypeScript + React projects
 * [`@lcooper/eslint-config-jest`](../eslint-config-jest) - Enhancement config for projects using Jest

## License

[MIT](../../LICENSE)
npm package: @lcooper/pug-lint-config
Description: Shareable pug-lint config
Author: Lucian Cooper
Latest version: 1.0.0

# @lcooper/pug-lint-config

[![npm][npm-badge]][npm-link]
[![license][license-badge]][license-link]

A sharable [pug-lint](https://github.com/pugjs/pug-lint) config for linting `pug` files.

## Installation

Install with the peer dependency [pug-lint](https://www.npmjs.com/package/pug-lint):

```bash
npm install --save-dev pug-lint @lcooper/pug-lint-config
```

## Usage

Add the `pugLintConfig` field to your `package.json` file:

```json
"pugLintConfig": {
  "extends": "@lcooper/pug-lint-config"
}
```

Or create a pug-lint config file type of your choice in the root folder of your project:

`.pug-lintrc` or `.pug-lintrc.json`

```json
{
  "extends": "@lcooper/pug-lint-config"
}
```

`.pug-lintrc.js`

```javascript
module.exports = {
    extends: '@lcooper/pug-lint-config',
};
```

## Scripts

Add a script to your `package.json` file:

```json
"scripts": {
  "lint:pug": "pug-lint **/*.pug"
}
```

[npm-link]: https://www.npmjs.com/package/@lcooper/pug-lint-config
[npm-badge]: https://img.shields.io/npm/v/@lcooper/pug-lint-config?logo=npm&style=for-the-badge
[license-link]: LICENSE
[license-badge]: https://img.shields.io/github/license/luciancooper/pug-lint-config?color=brightgreen&style=for-the-badge
npm package: @lcooper/sass-utils
Description: A collection of sass utility functions and mixins
Author: Lucian Cooper
Latest version: 1.0.1

# @lcooper/sass-utils

[![npm][npm-badge]][npm-link]
[![license][license-badge]][license-link]

A lightweight collection of [Sass](http://sass-lang.com/) utility functions and mixins.

Full documentation can be found [here](https://luciancooper.github.io/sass-utils/).

## Installation

Install with `npm`:

```bash
npm install --save-dev @lcooper/sass-utils
```

## Usage

Import the collection at the beginning of your stylesheet:

```scss
@import '~@lcooper/sass-utils';
```

Or import mixins and functions individually:

```scss
@import '~@lcooper/sass-utils/lib/functions';
@import '~@lcooper/sass-utils/lib/mixins';
```

[npm-link]: https://www.npmjs.com/package/@lcooper/sass-utils
[npm-badge]: https://img.shields.io/npm/v/@lcooper/sass-utils?logo=npm&style=for-the-badge
[license-link]: LICENSE
[license-badge]: https://img.shields.io/github/license/luciancooper/sass-utils?color=brightgreen&style=for-the-badge
npm package: @lcooper/stylelint-config-scss
Description: Shareable stylelint config for SCSS
Author: Lucian Cooper
Latest version: 1.1.1

# @lcooper/stylelint-config-scss

[![npm][npm-badge]][npm-link]
[![license][license-badge]][license-link]

A standalone, sharable [stylelint config](https://stylelint.io/user-guide/configuration#extends) for linting `scss` files. Enables the [`stylelint-scss`](https://github.com/moeriki/stylelint-scss) and [`stylelint-order`](https://github.com/hudochenkov/stylelint-order) plugins.

## Installation

For this package to function properly, [`stylelint`](https://www.npmjs.com/package/stylelint) must be installed as well:

```bash
npm install --save-dev stylelint @lcooper/stylelint-config-scss
```

If using `npm` **5** or greater, this can be acomplished using:

```bash
npx install-peerdeps --dev @lcooper/stylelint-config-scss
```

## Usage

Add the `stylelint` field to your `package.json` file:

```json
"stylelint": {
  "extends": "@lcooper/stylelint-config-scss"
}
```

Or create a stylelint config file type of your choice in the root folder of your project:

`.stylelintrc`

```json
{
  "extends": "@lcooper/stylelint-config-scss"
}
```

`.stylelintrc.js`

```javascript
module.exports = {
    extends: '@lcooper/stylelint-config-scss'
};
```

Check out the stylelint [configuration docs](https://stylelint.io/user-guide/configuration) for more details.

## Scripts

Add a script to your `package.json` file:

```json
"scripts": {
  "lint": "stylelint **/*.scss"
}
```

[npm-link]: https://www.npmjs.com/package/@lcooper/stylelint-config-scss
[npm-badge]: https://img.shields.io/npm/v/@lcooper/stylelint-config-scss?logo=npm&style=for-the-badge
[license-link]: LICENSE
[license-badge]: https://img.shields.io/github/license/luciancooper/stylelint-config-scss?color=brightgreen&style=for-the-badge
npm package: @lcoq/pinger
Description: Read sitemap or file containing one URL per line, and ping its URLs
Author: Louis Coquio
Latest version: 0.0.2

@lcoq/pinger
======

A small script for pinging URLs from a sitemap or one-url-by-line file.

```sh
$ pinger /path/to/file
$ pinger http://domain.com/path/to/file
$ pinger /path/to/unzipped/sitemap.xml -s
$ pinger http://domain.com/sitemap.xml.gz -sg
```

Table of Contents
-----------------

  * [Requirements](#requirements)
  * [Usage](#usage)
  * [Report](#report)
  * [Contributing](#contributing)
  * [License](#license)

Requirements
------------

pinger requires the following to run:

  * [Node.js][node]
  * [npm][npm] (normally comes with Node.js)

Usage
-----

pinger is easiest to use when installed with [npm][npm].

Install it globally so you'll have access to the `pinger` command anywhere on your system.

```sh
$ npm install -g @lcoq/pinger
```

Then you can run pinger with the following command:

### `pinger <file-path-or-url>`

pinger pings once each URLs in a file separated by a newline.

### `pinger <sitemap.xml.gz-path-or-url> -sg`

pinger pings once each URLs in the given `.xml.gz` sitemap file.

### Options

pinger supports the following options:

```
-s, --sitemap             Parse file as a .xml sitemap
-g, --gzip                Unzip .gz file
-t, --timeout <seconds>   Seconds before request timeout (default to 5)
-r, --repeat <count>      Number of times URLs are pinged (default to 1)
-b, --bunch <count>       Group requests by bunch of <count> requests and execute them simultaneously (default to 1)
-h, --help                output usage information
-V, --version             output the version number
```

Report
------

pinger reports for each URL pinged the status code of the response and the time elapsed during the request-response cycle (including redirects).

When pinger is used with the `--timeout` option, each URL that ended in a request timeout is also reported:

```
http://www.google.com 200 (0.36s)
http://www.google.fr 200 (0.38s)
http://www.bing.com TIMEOUT
```

pinger also provides a report once all URLs are pinged:

```
--- Report ---
Success: 792
Timeout: 4
Error: 0
---
```

Contributing
------------

To contribute to pinger, please clone this repository locally, commit your code in a separate branch and open a pull-request.

License
-------

pinger is licensed under the [MIT][mit] license.

Copyright &copy; 2016, Louis Coquio


[node]: https://nodejs.org/
[npm]: https://www.npmjs.com/
[mit]: https://opensource.org/licenses/MIT
npm package: @lcov-viewer/cli
Description: LCOV viewer CLI to convert coverage to grouped HTML report. Generates code coverage report grouped by directory.
Author: Eugene Zinovyev
Latest version: 1.3.0

![build](https://github.com/eugenezinovyev/lcov-viewer/actions/workflows/main.yml/badge.svg)
[![Known Vulnerabilities](https://snyk.io/test/github/eugenezinovyev/lcov-viewer/badge.svg?targetFile=packages%2Fcli%2Fpackage.json)](https://snyk.io/test/github/eugenezinovyev/lcov-viewer?targetFile=packages%2Fcli%2Fpackage.json)
[![npm version](https://badge.fury.io/js/@lcov-viewer%2Fcli.svg)](https://www.npmjs.com/package/@lcov-viewer/cli)

# LCOV viewer CLI

CLI to convert coverage to grouped HTML report. Generates code coverage report grouped by directory.

## Installation

```
npm install -g @lcov-viewer/cli
yarn global add @lcov-viewer/cli
```

## Usage
```
lcov-viewer lcov -o ./report-output-directory ./lcov.info
```

# Other packages
An Istanbul report package: [@lcov-viewer/istanbul-report](https://www.npmjs.com/package/@lcov-viewer/istanbul-report)


## Demo
![report](https://user-images.githubusercontent.com/1678896/160290486-4474bd0a-c3e5-4e0e-90dc-6ac72a1e76f7.gif)
npm package: @lcov-viewer/istanbul-report
Description: Istanbul grouped HTML report. Generates code coverage report grouped by directory.
Author: Eugene Zinovyev
Latest version: 1.4.0

![build](https://github.com/eugenezinovyev/lcov-viewer/actions/workflows/main.yml/badge.svg)
[![Known Vulnerabilities](https://snyk.io/test/github/eugenezinovyev/lcov-viewer/badge.svg?targetFile=packages%2Fistanbul-report%2Fpackage.json)](https://snyk.io/test/github/eugenezinovyev/lcov-viewer?targetFile=packages%2Fistanbul-report%2Fpackage.json)
[![npm version](https://badge.fury.io/js/@lcov-viewer%2Fistanbul-report.svg)](https://www.npmjs.com/package/@lcov-viewer/istanbul-report)

# LCOV viewer Istanbul report

Istanbul grouped HTML report. Generates code coverage report grouped by directory.

## Installation and Usage

Install development dependency using NPM
```
npm install -D @lcov-viewer/istanbul-report
```
OR using YARN
```
yarn add -D @lcov-viewer/istanbul-report
```

Include reporter in Jest config
```js
module.exports = {
    // ...
    coverageReporters: [
        '@lcov-viewer/istanbul-report'
    ],
    // ...
};
```

or specify as [nyc](https://github.com/istanbuljs/nyc) reporter
```
nyc --reporter=@lcov-viewer/istanbul-report npm run test
nyc --reporter=@lcov-viewer/istanbul-report yarn test
```

# Other packages
A CLI conversion package: [@lcov-viewer/cli](https://www.npmjs.com/package/@lcov-viewer/cli)


## Demo
![report](https://user-images.githubusercontent.com/1678896/139162954-4e062a3a-9776-4b15-9700-2a63dbdd58c3.gif)